After reading through the PHP manual, I added session_name('mysite');
to my code to ensure that collisions between sessions won't happen if I will run multiple apps in the future.
Unfortunately the session_name()
-function call it kills my site completely . A fatal error is thrown (which appears in the error logs, but doesn't say anything!) and the below error is shown in the browser:
I have PHP-FPM running along with suhosin+nginx at a freshly installed Ubuntu VM. What am I doing wrong?