since a few hours our server hangs every time you do a session_start.
For testing purposes i created a script which looks like this:
If this helps:
In my scenario, session_start()
was hanging at the same time I was using the XDebug debugger within PHPStorm, the IDE, on Windows. I found that there was a clear cause: Whenever I killed the debug session from within PHPStorm, the next time I tried to run a debug session, session_start()
would hang.
The solution, if this is your scenario, is to make sure to restart Apache every time you kill an XDebug session within your IDE.