cancel
Showing results for 
Search instead for 
Did you mean: 

[FreeBSD][Nginix][PHP56] Install stuck at 65%

[FreeBSD][Nginix][PHP56] Install stuck at 65%

Hi,

 

I'm having an issue with a clean install of M2.0CE on FreeBSD 11.1 where the install in bombing out at 65% (Installing user data...)

CLI install throws the following console errors:

[Progress: 204 / 312]
Installing user configuration...
PHP Fatal error:  Class 'SessionHandler' not found in /usr/local/www/magento2/lib/internal/Magento/Framework/Session/SaveHandler/Native.php on line 12

Fatal error: Class 'SessionHandler' not found in /usr/local/www/magento2/lib/internal/Magento/Framework/Session/SaveHandler/Native.php on line 12

 

I am setup using this guide: https://project.altservice.com/issues/851

But I have also tried replacing the  ngnix.conf with the included sample.

Timeouts have been modified to the recommended values from the official documentation rather than the guide.

I have no errors in my php-fpm.log and permissions appear to all be correct.

Googling suggests this is a php session handler permissions issue but afaik my sessions should be stored in /tmp and I can't see why a built-in account like www wouldn't have access to /tmp

 

Can anyone suggest more places for me to look for solving this?