The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php Zend problem

Discussion in 'General Discussion' started by Radio_Head, Sep 5, 2002.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    Hello ,

    php 4.2.2 is working fine on my server , however when
    I execute a php script from command line

    php test.php


    I receive this message

    Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory

    then the script is executed regulary .

    How to fix it ?
    Thank you
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    IIRC, PHP 4.2.2 is binary compatible with PHP 4.2.1. In fact the ZendOptimizer installer has ZendOptimizer.so files for 'PHP 4.0.5/6', 'PHP 4.1.x', 'PHP 4.2.0' and 'PHP 4.2.x (other than 4.2.0)'.

    So running /scripts/installzendopt-php421 should work in your system.
     
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    Ok now works , THANK YOU!
     
  4. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    How about if i am using PHP 4.3.2 ?

    How to install zend optimizer ? Because i have

    "Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory"

    too

    cPanel.net Support Ticket Number:
     
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Should be /scripts/installzendopt

    cPanel.net Support Ticket Number:
     
  6. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    You get this error and you do not want to install zend:
    pico /usr/local/lib/php.ini

    and comment zend optimizer lines using " ; " before the line

    cPanel.net Support Ticket Number:
     
  7. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    Thank's Casey.

    It's gone now and Zend Optimizer installed !

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page