How to install Zend Optimizer with the (IonCube) Loader? (RHEL, Plesk)

How to install Zend Optimizer with the (IonCube) Loader?

  1. wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
  2. tar zxvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
  3. cd ZendOptimizer-3.3.3-linux-glibc23-i386
  4. php -v (Check php version note it down)
  5. php -i | grep php.ini (note down the php.ini path)
  6. httpd -v (Check version)
  7. ./install
  8. After the above it will prompt for various path of apache, php
  9. 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"
  10. Comment the zend in php.ini
  11. nano -w /etc/php.ini
  12. #[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
  13. Make a zend.ini in /etc/php.d/ directory
  14. copy the zend so to it
  15. [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
  16. restart httpd | /etc/init.d/httpd restart
  17. check the if it is loaded or not php -v
  18. [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

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:

  1. I finally got it installed with your help thx so much!