Page 1 of 1

PHP 7.0.8 session_start()

PostPosted: 11. July 2016 20:53
by phuyem
Same bug as in PHP7.0.1

https://community.apachefriends.org/viewtopic.php?p=248203&sid=0d197e14e20a9a920f0de8e11a662f41

The instruction of

use_strict_mode should be set to 1
and
use_only_cookies = 1

is not helping. I also restarted many times. Is it just me ?

Re: PHP 7.0.8 session_start()

PostPosted: 12. July 2016 06:20
by phuyem
It happens with XAMPP , MAMP , WAMP all the same

Re: PHP 7.0.8 session_start()

PostPosted: 12. July 2016 11:04
by Nobbie
If it is an PHP problem thru all known distributions, you should proceed to www.php.net and issue a bug report. We cannot help you on that, because here no development is done, this a plain distribution. PHP bugs are not fixed by the Xampp team.

Re: PHP 7.0.8 session_start()

PostPosted: 13. July 2016 00:22
by phuyem
Guys, just let you know that I got it fixed. Not really certain how. But few important things you may consider trying if you get stuck in the same situation:

Given you are running on WIndows (10) , 64bit. I heard 32bit seems to be ok (but who else still using 32bit nowadays !! )

- Download the php 64 bit from php-windows website, threadsafe version. Copy it to xampp. Take your time to configure it manually ( few hours to aday but worth it)
- Try the following php settings
session.save_path = "C:\xampp\tmp"
session.use_strict_mode = 1
session.use_cookies = 1
session.use_only_cookies = 1

- And repair all mysql tables. This kind of error is not logged to error file on me for some reasons...

There you go. good luck

Re: PHP 7.0.8 session_start()

PostPosted: 13. July 2016 10:21
by Nobbie
phuyem wrote:but who else still using 32bit nowadays !!


... and who else still using Windows? I am on Linux since a couple of years and i am very satisfied. No more viruses, no more unwanted updates, no more problems like this one, as Apache / PHP is developped under Linux and runs more stable and and and....