Installation fails; cannot create install.log
The Setup Wizard does not create
install.log during the installation; as a result, the installation fails.
Running Magento processes at the same time might result in problems creating the installation log. (For example, two different installations in separate tab pages.)
Review your setting for
php.ini. The Setup Wizard uses the sys_get_temp_dir ( void ) PHP call to get the value of the temporary directory. If open_basedir is set to refuse connections to a directory specified by
sys_get_temp_dir, the installation fails.
To resolve the issue, change the value of
open_basedir and restart the web server.
If you’re not sure how to change this value, use the following steps:
- If you haven’t already done so, create phpinfo.php.
Enter the following URL in your browser’s address or location field:
http://<your web server IP or hostname>/<path to docroot>/phpinfo.php
Look for the location of
php.iniis typically specified as Loaded Configuration File in the displayed results.
- As a user with root privileges, open
php.iniin a text editor.
- Locate the value of
open_basedirand change it.
- Save your changes to
- Restart the web server.