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 DSO missing from drop down on SuExec/PHP page??

Discussion in 'General Discussion' started by Reado, Sep 17, 2009.

  1. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    I have just rebuilt Apache with MPM Worker. The rebuild completed successfully with no errors. Apache restarted as expected, but then none of our PHP sites worked. I checked under SuExec/PHP page and found there was no DSO to select.

    Any ideas?
     
  2. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    Anyone?

    I ran the rebuild_phpconf script and it said:

    Available handlers: dso fcgi cgi none
    warn [Cpanel::PHPConfig] Unexpected output from /usr/bin/php -v :
    PHP4 SAPI: not installed
    warn [Cpanel::PHPConfig] Unexpected output from /usr/bin/php -v :
    PHP5 SAPI: not installed
    SUEXEC: available

    So I checked php.conf file and it seems EA forgot to add:

    # LibPHP5 configuration
    LoadModule php5_module modules/libphp5.so
    AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml

    I saved the changes and restarted Apache, but now it won't start!!!

    Any help appreciated.
     
  3. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    Server rebooted. Same result. No errors in error_log or messages log relating to why Apache won't start.

    Any ideas?
     
  4. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    It's OK, this was resolved yesterday. I updated that ticket assigned to you regarding Suhosin being the cause.

    For anyone who receives this issue themselves, turns out Suhosin 0.9.27 and PHP 5.2.10 have compatibility issues. The issue causes PHP to crash and Apache fails to start unless Suhosin is commented out. This only appear to occur if you're using MPM Worker. MPM Prefork isn't affected.

    The issue has been resolved in Suhosin 0.9.28. Version 0.9.29 was released recently, which has been raised with cPanel to include with EA as soon as possible.
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    What's the output from /usr/bin/php -v?
     
  6. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    PHP was Seg Faulting. Exact message was "segmentation fault (11)" for every child process. Even scripts that merely contained "<?=phpinfo()?>" were causing PHP to crash.
     
  7. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    My apologies, I did not recognize your forum name.
     
Loading...

Share This Page