Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Sep 2009
    Location
    United Kingdom
    Posts
    110
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default PHP DSO missing from drop down on SuExec/PHP page??

    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. #2
    Member
    Join Date
    Sep 2009
    Location
    United Kingdom
    Posts
    110
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    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. #3
    Member
    Join Date
    Sep 2009
    Location
    United Kingdom
    Posts
    110
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Server rebooted. Same result. No errors in error_log or messages log relating to why Apache won't start.

    Any ideas?

  4. #4
    Member
    Join Date
    Sep 2009
    Location
    United Kingdom
    Posts
    110
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    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. #5
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Reado View Post
    Server rebooted. Same result. No errors in error_log or messages log relating to why Apache won't start.

    Any ideas?
    What's the output from /usr/bin/php -v?
    Kenneth
    Product Manager
    cPanel, Inc.

  6. #6
    Member
    Join Date
    Sep 2009
    Location
    United Kingdom
    Posts
    110
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by cpanelkenneth View Post
    What's the output from /usr/bin/php -v?
    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. #7
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Reado View Post
    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.
    My apologies, I did not recognize your forum name.
    Kenneth
    Product Manager
    cPanel, Inc.

Similar Threads & Tags
Similar threads

  1. Converting from PHP DSO to PHP suPHP + Suhosin
    By host4profit in forum Security
    Replies: 4
    Last Post: 03-03-2011, 10:58 PM
  2. PHP dso + suEXEC still runs as Nobody
    By hn1717 in forum Security
    Replies: 2
    Last Post: 01-02-2010, 05:03 PM
  3. PHP dso + suEXEC still runs as Nobody
    By hn1717 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-30-2009, 05:31 PM
  4. Replies: 33
    Last Post: 09-10-2006, 12:56 AM
  5. Disabling local php.ini while php still runs in SUExec mode
    By gizmoh in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-10-2005, 11:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube