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.

zend optimzer

Discussion in 'General Discussion' started by AlaskanWolf, Mar 20, 2002.

  1. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
    i ran the /scripts/ and said zend already existed etc....but when i go to a zend encloded file i get the junk characters

    how do i install (or fix) zend optimzer?
     
  2. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
    seems after i upgraded with buildapache, it broke my zend optimizer install, and reinstalling it doesnt do any good

    suggestions?
     
  3. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Is there any reference to zend optimizer in your php.ini file? there should be two lines with something like this:

    zend_optimizer.optimization_level=15
    zend_extension=&/usr/local/Zend/lib/ZendOptimizer.so&
     
  4. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
    yuppers that was the weird thing

    i downloaded the source and installed it, worked like a charm again :)
     
  5. kahoz

    kahoz Well-Known Member

    Joined:
    Nov 7, 2003
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Portugal
    i ran /scripts/installzendopt but i still get the message 'zend opt not installed' when running an encrypted file.

    i made a grep to php.ini and evertything looked right..

    Code:
    # grep -i 'zend' /etc/php.ini
    ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ; unsupported in future versions of PHP/Zend.  The encouraged method of
    [Zend]
    zend_optimizer.optimization_level=15
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.1
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.5.1
    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
    
    where is the problem ?
     
Loading...

Share This Page