Parallels Plesk Panel stops working after the installation of Zend Optimizer.
Cause
The reason for the problem is that Zend sets a path to the php.ini file in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath=C:\WINDOWS
Therefore, all .php scripts on the server start using this setting and use the C:\WINDOWS\php.ini
file for PHP configuration.
Resolution
To fix this problem , the following key needs to be removed:
- On x86 servers –
HKEY_LOCAL_MACHINE\SOFTWARE\php\IniFilePath
- On x64 servers –
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PHP\IniFilePath
Then, all .php scripts will use the correct .ini files.
No comments:
Post a Comment