Magento2 Installation Stuck – How to Resolve Issues with PHP-7 and Vagrant

magento2php-7vagrant

When trying to install Magento 2, the installation is currently stuck at 49% "Installing user configuration". I have tried changing the "vendor" directory to 777 as recommended by a couple of others here, though this hasn't worked. Is there anything else I can try?

For reference, I am using PHP7.0.7 on Ubuntu. Any other information needed to assist in answering, please comment.

enter image description here

Best Answer

In case someone else is having the same problem, most likely the max_execution_time is exceeded while the script runs. This can be confirmed by checking the response of the "start" request in the console (will be a 500 error) and the log file in /var/log/apache2/error.log

Just edit your php.ini and set the value from the original 30 seconds to something like 360 seconds.

The php.ini that you are using can be found using phpinfo() (php) or php --info (cli).

Restart your server and it should work fine.

Related Topic