# [b][color=blue]php -v[/color][/b]
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS
PHP 5.3.2 (cli) (built: Oct 8 2010 23:17:55)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
其中,当前的安装版本为:
Apache: 2.2.9 (httpd-2.2.9.tar.gz)
PHP:5.3.2 (php-5.3.2.tar.bz2)
Zend Optimizer:3.3.0a (ZendOptimizer-3.3.0a-linux-glibc21-i386.tar.gz)
Zend Optimizer的安装路径为:/usr/local/Zend
安装zend optimizer后的php.ini文件内容为:
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0a
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
安装完Zend Optimizer之后将/usr/local/etc下的php.ini文件拷贝到了 /etc/目录下,依然出现如上问题。
同时selinux已关闭。
==================================================================
若将 php-5.2.6 上的./php/bin/php 可执行文件拷贝到本地机器/home/目录下,执行 /home/php -v,则如下:
# [b][color=blue]/home/php -v[/color][/b]
PHP 5.2.6 (cli) (built: Sep 30 2010 21:06:16)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
则不会报“Cannot load Zend Extension Manager ...”之类的信息。
[b]这是为什么? WHY WHY[/b]
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS
PHP 5.3.2 (cli) (built: Oct 8 2010 23:17:55)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
其中,当前的安装版本为:
Apache: 2.2.9 (httpd-2.2.9.tar.gz)
PHP:5.3.2 (php-5.3.2.tar.bz2)
Zend Optimizer:3.3.0a (ZendOptimizer-3.3.0a-linux-glibc21-i386.tar.gz)
Zend Optimizer的安装路径为:/usr/local/Zend
安装zend optimizer后的php.ini文件内容为:
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0a
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
安装完Zend Optimizer之后将/usr/local/etc下的php.ini文件拷贝到了 /etc/目录下,依然出现如上问题。
同时selinux已关闭。
==================================================================
若将 php-5.2.6 上的./php/bin/php 可执行文件拷贝到本地机器/home/目录下,执行 /home/php -v,则如下:
# [b][color=blue]/home/php -v[/color][/b]
PHP 5.2.6 (cli) (built: Sep 30 2010 21:06:16)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
则不会报“Cannot load Zend Extension Manager ...”之类的信息。
[b]这是为什么? WHY WHY[/b]