Zend Optimizer 3.3.3 PHP 5.2.5 help

Skyslayer

Member
Jan 8, 2008
9
0
51
I can not get Zend optimize to work I have been working on this for days

Used easy apache 3 times to no go tried manual installation of zend optimizer from there site all looks good during install and in phpinfo and php -v but when i load a zend encoded page it comes up blank I have run the easy php calendar test info page and it comes up failing on the Zend test.

Apache 2.2.8
Mysql 5.0.45
PHP 5.2.5
standard mod_sec
and using suphp and suexe I have tried disabling these it seem to not make a difference

I only have the one php.ini i.e not in user folders
PHP -v


PHP 5.2.5 (cli) (built: Apr 18 2008 01:06:13)

Copyright (c) 1997-2007 The PHP Group

Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and

with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies

with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies


bottom of my php.ini

[Zend]
zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.2.so"
zend_extension_ts = "/usr/local/IonCube/ioncube_loader_lin_5.2_ts.so"

zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so


and all files exist in the stated locations

I have also used /scripts/installzendopt it looks like it installs but it wont work

TIA
 

Skyslayer

Member
Jan 8, 2008
9
0
51
More info

I have just compiled again using easy apache and I am not using suexec any more but still using suphp still no go

any ideas?
 

iamhatinh

Registered
Mar 21, 2008
1
0
51
php.ini

[Zend]
zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.2.so"
zend_extension_ts = "/usr/local/IonCube/ioncube_loader_lin_5.2_ts.so"

zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so


and all files exist in the stated locations

I have also used /scripts/installzendopt it looks like it installs but it wont work

TIA
Try:

PHP:
zend_extension = /usr/local/IonCube/ioncube_loader_lin_5.2.so
zend_extension=/usr/local/lib/Zend/ZendOptimizer.so

zend_optimizer.optimization_level=15 

or
zend_optimizer.optimization_level=1023