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
=======================
Reference ::
http://kb.swsoft.com/en/631
Can I install Zend Optimizer with the (IonCube) Loader?
Article ID: 631
Last Review: Jan,04 2006
APPLIES TO: - Sitebuilder 1.1.0 for Linux/Unix
RESOLUTION
Yes. We permit trusted software to be installed and so, we support the
installing of Zend Optimizer along with our Loader in the php.ini file. Note
that our Loader must be installed before Zend Optimizer in the php.ini file. If
you do see messages claiming any incompatibility then this is incorrect and points at a
configuration problem. Please let us know about it and we'll contact you with an explanation.
(Ref. http://www.ioncube.com/faq.php?sid=1d442d702d1781b4639c7c566b801878&sid=1d442d702d1781b4639c7c566b801878#zo2)
=====================================================
If you need any assistance, We can provide you for a small fee. please email us mayur.c24@gmail.com
=====================================================
1 comments:
Anonymous said... February 9, 2011 at 10:43 PM
I finally got it installed with your help thx so much!
Post a Comment