Apache 2.0.63
PHP 5.2.8
Zend Optimizer 3.3
编译安装后,phpinfo()显示没有Zend Optimizer信息。
1)是否版本兼容问题?
Zend Optimizer System Requirements
Supported Operating Systems:
- Linux x86, x86-64
- Solaris Sparc V8, 9, 10
- Solaris x86 v9, 10
- FreeBSD x86 v5.x, 6.x
- Windows x86 2000, XP, 2003
- OS X (Intel & Power) 10.1-10.4 (32 bit only)
- AIX pSeries v5
Supported Web Servers:
- Apache 1.3.x
- Apache 2.0.x (Prefork mode only 进程方式)
- Apache 2.2.x (Prefork mode only 进程方式)
- IIS 5, 6
Supported PHP versions (For use with non-threaded PHP only)
- 4.2.x up to 4.4.x (4.3.x and higher for Mac OS X)
- 5.0.x, 5.1.x, 5.2.x
2)是否编译和路径问题?
Zend Optimizer did not load
The following phpinfo()
output was not displayed:
... with Zend Optimizer vX.Y.Z, Copyright (c) 1998-2007 by Zend Technologies.
It could be that...
- PHP was compiled with debug support.
The phpinfo()
output will indicate that ZEND_DEBUG
is 'enabled'. Recompile PHP without the debug support.
- PHP used the wrong php.ini or the correct php.ini did not include the optimizer directives.
To identify if the wrong php.ini file was used, run a trace on httpd -X
(in the case of Apache module) or on a standalone PHP exec (in the case of cgi) to see which files it tried to open.
- The Zend Optimizer directives in the php.ini file are incorrect.
For example, there may be typos, the path to the optimizer is incorrect, the Zend Optimizer filename was not entered with the correct case, or the directives included extra white space at the beginning of a line or around a '='.
- You are working with the wrong web server installation.
(This will only occur when there are different installations.)
查明是因为php.ini 的位置问题。
阅读(1193) | 评论(0) | 转发(0) |