Problem after Zend Optimizer install

Discussion in 'Programming/Scripts' started by Bricker, Feb 13, 2007.

  1. Bricker

    Bricker New Member

    I have installed Zend Optimizer 3.2.2 on my server. After I do so, you can go to any of my websites and the browser will just hourglass. When I restore the original php.ini the sites come back fine.

    Here is a phpinfo page to see my server. http://www.zycronmail.com/phpinfo.php

    I cannot figure out what is going wrong...unless I need to recompile something although nothing has said I have to.

    Thank you for any help.
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. ctql

    ctql New Member HowtoForge Supporter

    It looks like ioncube is being loaded after Zend Optimizer. This won't work. My guess is this file (which is being parsed after php.ini): /etc/php.d/ioncube-loader.ini

    has something like:
    [Zend]
    zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

    move the zend_extension line to the bottom of php.ini but above the other zend optimizer lines like below and disable/delete the file /etc/php.d/ioncube-loader.ini


    [Zend]
    zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.0.1
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.0.1
    zend_optimizer.version=3.0.1
    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
     

Share This Page