<p dir="auto">I'm using Symfony 3.0.2 with:<br>
nginx version: nginx/1.4.6 (Ubuntu)<br>
php version: 7.0.3-4+deb.sury.org~trusty+1</p>
<p dir="auto">Everything works fine except when I try to enter the Symfony profiler where I get the following message:</p>
<blockquote>
<p dir="auto">Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/www/Symfony/app/../var/sessions/dev)</p>
</blockquote>
<p dir="auto">After that I get this error on every page. To be able to see regular pages again I just need to delete session cookie from my browser. But again, it works fine till I try to enter the Symfony profiler.</p>
<p dir="auto">This error occurs only when I add to nginx config file this line:</p>
<blockquote>
<p dir="auto">fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;</p>
</blockquote>
<p dir="auto">However, when using php5 by adding the following line everything works fine:</p>
<blockquote>
<p dir="auto">fastcgi_pass unix:/var/run/php5-fpm.sock;</p>
</blockquote>
<p dir="auto">BTW. I have another project which is build on Symfony 3.0.1, and there is no such a problem.</p>
<p dir="auto">Hi,</p>
<p dir="auto">I'm using the new symfony3 distribution with PHP7 on Vagrant.</p>
<p dir="auto">If I run the app, I get a strange error message:</p>
<p dir="auto">Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/www/api/app/../var/sessions/dev)</p>
<p dir="auto">What could this be?</p>
<p dir="auto">Greetings</p>