- 论坛徽章:
- 0
|
求救,zend optimizer死都装不好!
1. Please check that your PHP is compiled in non-debug mode - this can be checked by looking at the top part of the phpinfo() function output and checking "Debug
Build" row (ZEND_DEBUG in older PHP versions) - it should say "no".
2. Please check that the zend_extension (for Unix) or zend_extension_ts (for Windows) for the product is in the php.ini file and the name of the loadable binary (ending by .so for Unix and .dll for Windows) is indeed pointing to an existing file.
Please check that there are no extra spaces and the like. It should look something like the following:
zend_extension=/usr/local/Zend/lib/ZendOptimizer.so - for Unix zend_extension_ts="C:\Program Files\Zend\lib\ZendOptimizer.dll" - for Windows
The location of the php.ini file can be seen in the top part of the phpinfo() function output.
(Some versions of Zend products don't directly load the Zend extensions but point at the ZendExtensionManager.so - this is correct behavior).
3. Please check that your PHP is compiled in ZTS mode for Windows and non-ZTS mode for Unix. This can be checked by looking at the top part of the phpinfo() function and checking "Thread Safety" row - it should say "disabled" for Unix and "enabled" for Windows.
4. Look at the error log file for your web server (usually, for Apache it is error_log and defined in the configuration by ErrorLog directive). If you see there are any error messages, please check the knowledge base further, and if you do not find solution, please contact Zend support.
5. If you don't see any error messages (but the product still doesn't load), please set display_errors and display_startup_errors to 1 in your php.ini and restart your web server, then check again for the messages. Note that if you are using Apache web server and do not see message like: "Apache <...some text...>; configured -- resuming normal operations" in the error log after starting Apache - you are probably looking at the wrong file.
6. If you still cannot see what the problem is - please contact support for further help.
发现
Thread Safety enabled
如何改为disabled |
|