Zend optimizer is not working?

Discussion in 'Install/Configuration' started by vivek, May 22, 2008.

  1. vivek

    vivek New Member

    Hi there!

    I got a new server and installed litespeed trial

    Installed PHP 5.2.6 as well

    but there is a problem,

    Zend Optmizer is not working,

    Ioncube is working fine, but zend has problem
    I installed Zend latest version 3.3 , but not sure what is the reason , why it is not working

    The last lines of php.ini is as follows


    [Zend]
    zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so"
    zend_extension_ts="/usr/local/IonCube/ioncube_loader_lin_5.2_ts.so"
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
    zend_optimizer.version=3.3.0a

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




    As I see, phpinfo() shows , ZendExtension and Ioncube , both are loaded, but problem with Zend Optmizer,


    Anything wrong ?

    mistwang, pming you server login for checking, please check it, I think it may be due to php 5.2.6 + lsapi new version ( 4.7 ? )
  2. mistwang

    mistwang LiteSpeed Staff

    PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0phpinfo()
  3. vivek

    vivek New Member

    Oh!
    Just realised that the zend version is 3.3.3 and I added 3.3.0 in php.ini
    Its working now
  4. coxis

    coxis New Member

    Hey.

    I got problem with Zend Optimizer.

    I've installed it with path to php.ini was: /opt/lsws/php/

    When install ask if i have apache i say no (litespeed)

    i got php 5.2.5 and v3.3.4

    in php.ini i got:

    [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

    after all it changes in php.info :
    Loaded Configuration File /usr/local/Zend/etc/php.ini

    i've restart server : graceful and /etc/init.d/lsws restart

    and everything should work

    but when i am installing my software it say to me:
    Zend Optimizer: not installed

    any ideas ?
  5. coxis

    coxis New Member

    solved, wrong version, got 32bit, need 64 bit and it works

Share This Page