How to install Zend Optimizer with the (IonCube) Loader?
- wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
- tar zxvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
- cd ZendOptimizer-3.3.3-linux-glibc23-i386
- php -v (Check php version note it down)
- php -i | grep php.ini (note down the php.ini path)
- httpd -v (Check version)
- ./install
- After the above it will prompt for various path of apache, php
- php -v (if it gives error) “PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0”
- Comment the zend in php.ini
- nano -w /etc/php.ini
- #[Zend]
#zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
#zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_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 - Make a zend.ini in /etc/php.d/ directory
- copy the zend so to it
- [Zend]
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 - restart httpd | /etc/init.d/httpd restart
- check the if it is loaded or not php -v
- [root@rshagrawal php.d]# php -v
PHP 4.3.9 (cgi) (built: Sep 12 2007 11:09:31)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, 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
Thats all you are done.
=======================
Reference ::
http://kb.swsoft.com/en/631
Need Assistance with nominal fee contact [email protected]