zend installation

seachen

Verified User
Joined
Feb 3, 2007
Messages
495
i have downgrade my php from 5.3 to 5.2

i try to install Zend with below cmd

cd /usr/local/directadmin/custombuild
./build set zend yes
./build zend

it show error as below
[root@server3 custombuild]# cd /usr/local/directadmin/custombuild
[root@server3 custombuild]# ./build set zend yes
Changed zend option from yes to yes
[root@server3 custombuild]# ./build zend
File already exists: ZendOptimizer-3.3.3-linux-glibc23-x86_64.tar.gz
PHP: Error parsing /usr/local/etc/php5/cgi/php.ini on line 1969
Failed loading /usr/local/lib/ioncube_loader_lin_5.3.so: /usr/local/lib/ioncube_loader_lin_5.3.so: undefined symbol: zend_resolve_path
Zend Guard Loader requires Zend Engine API version 220090626.
The Zend Engine API version 220060519 which is installed, is outdated.

Failed loading /usr/local/Zend53/ZendOptimizerPlus.so: /usr/local/Zend53/ZendOptimizerPlus.so: cannot open shared object file: No such file or directory
Zend Optimizer has been installed.
[root@server3 custombuild]#


how to fix this?
 
PHP: Error parsing /usr/local/etc/php5/cgi/php.ini on line 1969
Look at line 1969 of that php.ini, what does it say?

Failed loading /usr/local/Zend53/ZendOptimizerPlus.so
Your php.ini will not renews during a downgrade. You have to remove the new lines like ZendGuard.
Only the Zend Optimizer line should still be in there, should like something like this:
zend_extension=/usr/local/lib/ZendOptimizer_5.2.so

Don't forget to restart apache after removeing the lines.
 
Back
Top