Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Has anyone installed zend and ioncude on the same server?

    I have php seux and ion cube php installation.

    But when i try to install zend all the php scripts on the server get a premature end of script error.

    Anyone isntalled zend and ion cube on the same server and can help me whith what I need to do?

    Thanks,

  2. #2
    Member
    Join Date
    Jun 2002
    Posts
    18

    Default

    yes, i have 2 servers (RH9 on Intel + FC2 on AMD) use both IonCube and Zend
    don't forget to backup your file before editing + do this with Your Own Risk !!

    1. SSH login/su as root

    2. make sure ioncube is installed at your server

    3. edit /scripts/installzendopt : >> pico /scripts/installzendopt

    4. under " my %urls = ( " line, change to

    Linux => 'http://downloads.zend.com/optimizer/2.5.10/ZendOptimizer-2.5.10a-linux-glibc21-i386.tar.gz',
    Linux64 => 'http://downloads.zend.com/optimizer/2.5.10/ZendOptimizer-2.5.10a-linux-glibc23-x86_64.tar.gz',


    5. save changes and install zend : >> /scripts/installzendopt

    6. follow the instruction at the installation proccess

    7. after installation, edit your php.ini : >> pico /usr/local/Zend/etc/php.ini

    8. find the zend configuration zone

    9. move your ioncube line (at my server: zend_extension=/usr/local/cpanel/3rdparty/etc/ioncube/ioncube_loader_lin_4.4.so) before zend_extension

    example at my server :

    [Zend]
    zend_optimizer.optimization_level=15
    zend_extension=/usr/local/cpanel/3rdparty/etc/ioncube/ioncube_loader_lin_4.4.so
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.10

    zend_optimizer.version=2.5.10a

    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

    10. save changes and restart httpd >> /etc/init.d/httpd restart

    done...

    PLEASE.... don't forget backup your "php.ini" and "/scripts/installzendopt", so you can restore it again if the process above is failed.

    Hope this can help

    Quote Originally Posted by DWHS.net
    I have php seux and ion cube php installation.

    But when i try to install zend all the php scripts on the server get a premature end of script error.

    Anyone isntalled zend and ion cube on the same server and can help me whith what I need to do?

    Thanks,

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    93

    Default

    what if you already have Zend installed and not ionCube yet? Do you have to uninstall ZEND and then install ionCube first?

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default

    cool, thanks for the details.

  5. #5
    dct
    dct is offline
    Member
    Join Date
    Nov 2005
    Posts
    6

    Default

    Quote Originally Posted by arkain
    what if you already have Zend installed and not ionCube yet? Do you have to uninstall ZEND and then install ionCube first?
    No you dont need reinstall zend. just install ioncube now and configure php.ini like this:

    [Zend]
    zend_optimizer.optimization_level=15
    zend_extension=/usr/local/cpanel/3rdparty/etc/ioncube/ioncube_loader_lin_4.4.so
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.10

    zend_optimizer.version=2.5.10a

    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so


    I installed and Working good.

Similar Threads & Tags
Similar threads

  1. Zend Framework - Is it installed on my server?
    By jols in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-22-2009, 08:40 PM
  2. Zend Optimizer not installed
    By Zion Ahead in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-13-2008, 06:02 PM
  3. Zend is installed but not working.
    By ReCoDe in forum New User Questions
    Replies: 15
    Last Post: 08-17-2007, 01:01 PM
  4. Zend Optimizer not installed
    By cLub2Share in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-27-2006, 08:21 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube