设置php的session分级存放后,phpMyAdmin运行不正常

  前一段把php的session进行了目录分级存放,详情见 http://www.toplee.com/blog/300.html ,总的来说效果不错,不过却在使用phpMyAdmin时遇到点小问题。

  首先是phpMyAdmin页面显示错位,然后是页面间_GET和_POST参数都不能正常传递,因为最近还修改了服务器上的一些别的配置,花了很长时间才定位到是session的问题,在phpMyAdmin的libraries/common.lib.php文件中进行debug,发现在session验证的地方总是出错,于是怀疑到php的session故障,不过由于其他应用中使用session都没有问题,应该是phpMyAdmin处理session方面的问题,打开 libraries/session.inc.php,可以看到一些处理session的ini设置项,在适当位置加入下面一行代码,问题得到解决。
[coolcode lang=”php”]
ini_set(‘session.save_path’,”your_session_save_path”);
[/coolcode]

  由此可以引出一些通用的问题,就是如果在php代码里面改变了ini中session的设置项,则一些关键的项都需要重新设定,php.ini中原来定义的设置就不会继续生效了,今后需要多加注意。

0 thoughts on “设置php的session分级存放后,phpMyAdmin运行不正常”

  1. First of all I want to say terrific blog! I had a quick
    question that I’d like to ask if you do not mind. I was interested to find out how
    you center yourself and clear your mind before writing.
    I have had a hard time clearing my mind in getting my thoughts out
    there. I do take pleasure in writing however it just seems like the first 10 to 15 minutes are generally wasted just trying to figure out how to begin. Any suggestions or hints?
    Thanks!

  2. A lot of thanks for your own efforts on this site. Ellie takes pleasure in going through investigation and it’s really obvious why. A lot of people notice all concerning the lively form you deliver precious guidance by means of your blog and recommend participation from the others on that point so my daughter has always been becoming educated so much. Take pleasure in the remaining portion of the year. You are always doing a fantastic job.

  3. I want to get across my affection for your kindness supporting persons who require guidance on this subject. Your special commitment to passing the solution all through had been definitely effective and has constantly helped associates just like me to achieve their goals. This interesting advice can mean a lot to me and additionally to my office colleagues. Regards; from all of us.

  4. I believe everything wrote made a lot of sense. But, think on this, suppose you added a
    little content? I am not suggesting your content is not solid, but suppose you added a post
    title that grabbed a person’s attention? I mean 设置php的session分级存放后,phpMyAdmin运行不正常 | 李俊麟的平凡生活
    is kinda boring. You ought to look at Yahoo’s home page and note how they create post headlines to grab people to open the links.

    You might try adding a video or a pic or two to grab readers interested about
    everything’ve got to say. Just my opinion, it would make your posts a
    little bit more interesting.

  5. Thanks for the marvelous posting! I quite enjoyed reading it, you happen to be a great author.I will always bookmark your blog and
    may come back in the future. I want to encourage you continue your great posts,
    have a nice morning!

  6. hello there and thank you for your info – I have
    definitely picked up something new from right
    here. I did however expertise several technical points
    using this web site, as I experienced to reload the website many times
    previous to I could get it to load properly. I had
    been wondering if your hosting is OK? Not that I’m complaining, but slow loading instances times will sometimes affect your placement
    in google and can damage your quality score if ads and marketing with Adwords.

    Well I am adding this RSS to my e-mail and could
    look out for a lot more of your respective interesting content.
    Make sure you update this again soon.

  7. With havin so much content and articles do you ever run into
    any issues of plagorism or copyright violation? My site has a
    lot of completely unique content I’ve either created myself or
    outsourced but it looks like a lot of it is popping it
    up all over the web without my authorization. Do you know any techniques to
    help stop content from being stolen? I’d genuinely appreciate it.

  8. I’d like to thank you for the efforts you
    have put in writing this blog. I really hope to see the same high-grade blog
    posts from you later on as well. In truth, your creative writing abilities has encouraged me
    to get my own, personal blog now 😉

  9. Fantastic goods from you, man. I’ve understand your
    stuff previous to and you’re just extremely
    wonderful. I really like what you’ve acquired here, really like what you’re stating
    and the way in which you say it. You make it enjoyable and you still
    take care of to keep it sensible. I cant wait to read much more
    from you. This is actually a great site.

  10. Greetings I am so grateful I found your website, I really
    found you by error, while I was looking on Bing for something else,
    Anyways I am here now and would just like to say thank
    you for a fantastic post and a all round exciting blog (I
    also love the theme/design), I don’t have time to go through it all at the moment but I
    have saved it and also added in your RSS feeds, so when I have time I will be
    back to read a lot more, Please do keep up the fantastic work.

  11. Howdy! Quick question that’s completely off topic.
    Do you know how to make your site mobile friendly?
    My website looks weird when browsing from my
    iphone. I’m trying to find a template or plugin that might be able
    to fix this issue. If you have any recommendations, please share.
    Thanks!

  12. I think everything posted made a lot of sense. But,
    consider this, what if you were to write a killer headline?
    I am not saying your content is not good, however
    suppose you added a post title that grabbed folk’s attention? I mean 设置php的session分级存放后,phpMyAdmin运行不正常 | 李俊麟的平凡生活 is kinda vanilla.
    You should look at Yahoo’s home page and watch how they create post titles to grab people to open the
    links. You might try adding a video or a picture or two
    to grab readers interested about what you’ve got to say.
    Just my opinion, it would bring your website a little livelier.

  13. Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your weblog?
    My blog site is in the very same area of interest
    as yours and my visitors would really benefit
    from a lot of the information you present here. Please let me know if this alright with you.
    Appreciate it!

  14. I’ve been surfing online more than 2 hours today, yet I never found
    any interesting article like yours. It is pretty worth enough for me.

    In my opinion, if all website owners and bloggers made
    good content as you did, the web will be a lot more useful
    than ever before.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image