Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Question suPHP and Zend Optimizer

    I am having an unusual problem with Zend Optimizer and PHP. Latest stable build of cPanel and CentOS 5.2 64-Bit.

    Main >> Service Configuration >> Apache Configuration
    Configure Suexec and PHP

    Once I change the PHP5 Handler from DSO to suPHP Zend Optimizer is no longer functional and not listed in a phpinfo. When I move it back to DSO it re-appears.

    I need to get it working with suPHP of course.
    .

  2. #2
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Any ideas?

    I have tried using a manual install with the zend optimizer with no luck.
    .

  3. #3
    Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    I don't know much about Zend optimizer, but I know that things like eaccelerator will not work with suphp. Are you sure that Zend optimizer will?

  4. #4
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Yes, that is correct. eacelerator will not work with suPHP. Zend Optimzer on the other hand will absolutely work with it.

    Quote Originally Posted by verdon View Post
    I don't know much about Zend optimizer, but I know that things like eaccelerator will not work with suphp. Are you sure that Zend optimizer will?
    .

  5. #5
    Member
    Join Date
    May 2005
    Posts
    235

    Default

    Do you have a custom php.ini file under the account you are checking?

  6. #6
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    No, this is server wide.

    Quote Originally Posted by zigzam View Post
    Do you have a custom php.ini file under the account you are checking?
    .

  7. #7
    Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    Quote Originally Posted by Solokron View Post
    Yes, that is correct. eacelerator will not work with suPHP. Zend Optimzer on the other hand will absolutely work with it.
    Good to know

  8. #8
    Member
    Join Date
    Apr 2003
    Posts
    142

    Default Re: suPHP and Zend Optimizer

    Having the same problem as original poster. Zend Opt works with CGI but not with suPHP.. swapping between the two in WHM enables/disables Zend Opt server-wide.

  9. #9
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,274
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: suPHP and Zend Optimizer

    What is your PHP version?

    Code:
    php -v
    Please post the entire content of the return for that command and do this when you have suPHP enabled with Zend Optimizer enabled. You can also just install Zend Optimizer using this script:

    Code:
    /scripts/phpextensionmgr install ZendOpt
    The uninstall command would be:

    Code:
    /scripts/phpextensionmgr uninstall ZendOpt
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  10. #10
    Member
    Join Date
    Apr 2003
    Posts
    142

    Default Re: suPHP and Zend Optimizer

    php -v
    PHP 5.2.17 (cli) (built: Mar 14 2011 15:09:52)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

    PHPINFO() does not return the same info. It is showing no Zend Optimizer. If I change from suPHP module to CGI then it works.

    P.S. Just ran /scripts/phpextensionmgr install ZendOpt and it didn't change anything.

  11. #11
    Member
    Join Date
    Apr 2003
    Posts
    142

    Default Re: suPHP and Zend Optimizer

    cPanel support helped me fix it. (thanks Nick!)

    I had some bad local php.ini settings in the folder I was testing. Copied over the php.ini file fresh and suPHP loaded up Zend Opt perfectly. Sorry guys, noob mistake on my part.

Similar Threads & Tags
Similar threads

  1. Zend Optimizer 3.3.0
    By Spiral in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-19-2007, 07:33 AM
  2. Zend Optimizer
    By strikinado in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 08-06-2006, 10:52 AM
  3. Zend Optimizer unable to run Zend Encoded files...
    By SubZero in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-02-2005, 02:15 AM
  4. Zend Optimizer
    By purplepaws in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 03-11-2003, 03:15 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube