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.

How can I uninstall Zend Optimizer with installed via installzendopt?

Discussion in 'General Discussion' started by PHP Warner, Aug 6, 2006.

  1. PHP Warner

    PHP Warner Member

    Joined:
    Aug 6, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I've installed Zend Optimizer by using /scripts/installzendopt command.

    Zend installed without problems and moved my php.ini into /usr/local/Zend/etc

    But now, I want to uninstall this optimizer because I want to use APC and undo all changes. Is it possible, if yes how can I do it?

    Thanks now for your helps.
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    1.nano /usr/local/Zend/etc/php.ini

    scroll down to the very bottom and remove or comment out

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



    then save



    2. rm /usr/local/lib/php.ini

    3. mv /usr/local/Zend/etc/php.ini /usr/local/lib/

    4. rm -rf /usr/local/Zend/

    5 restart apache
     
  3. PHP Warner

    PHP Warner Member

    Joined:
    Aug 6, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Thank you very much dalem. I've uninstalled Zend Optimizer.
     
Loading...

Share This Page