Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
12-10-2012, 01:13 AM #1
- Join Date
- Dec 2012
- Thanked 0 Times in 0 Posts
Critical PHP 5.4.9 Sessions Issue (Sessions data not being saved)
First of all, thank you all for simply taking the time to open this thread.
Secondly, i'm writing this post in the hope on finding out the root of this Problem which i have with the php sessions, which happens in the following conditions, on both a cakephp-based script, and the widely known phpMyAdmin:
PHP Info page:
Please note that the sessions.save_path is writable by the nobody user, which php-fpm / nginx run under, and everybody else.
The login pages only work on Opera, and you can actually try it for yourself.
Please let me know what other info you need, if you need any, and hopefully some of you will be able to help me solve this issue ASAP. I'll look into it myself, as i am since 5 days ago when i've upgraded to php 5.4.9.
P.S: nginx version is 1.3.9, but it has worked just fine so far.
12-10-2012, 01:47 PM #2
- Join Date
- Feb 2011
- Your Monitor
- Thanked 527 Times in 514 Posts
- Blog Entries
What exactly is your problem?
You've stated that your sessions are not saving and that you're using phpmyadmin and cakephp.
You've not stated any error messages. You've not shown your php.ini file. You've not shown your sessions save path setting (just commented on it) and you've not shown any basic php code to test your sessions either.
What is the issue and what have you done to test it?
What are you using? Wamp, mamp, lamp? Did you install apache, mysql and php manually with a manual config?
See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/
Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!