New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

suPHP errors following upgrade to 0.9.8.273

Started by zerofox, January 16, 2018, 05:15:14 AM

Previous topic - Next topic

zerofox

Following the upgrade to version 0.9.8.273, I have many of the following errors in my error_log.

[Mon Jan 15 23:02:14.126274 2018] [:error] [pid 32552:tid 140224454465280] [client xx:30240] suPHP version 0.7.2
[Mon Jan 15 23:02:14.126353 2018] [:error] [pid 32552:tid 140224454465280] [client xx:30240] (c) 2002-2007 Sebastian Marsching
[Mon Jan 15 23:02:14.126362 2018] [:error] [pid 32552:tid 140224454465280] [client xx:30240]
[Mon Jan 15 23:02:14.126377 2018] [:error] [pid 32552:tid 140224454465280] [client xx:30240] suPHP has to be called by mod_suphp to work.
[Mon Jan 15 23:02:14.126405 2018] [core:error] [pid 32552:tid 140224454465280] [client xx:30240] End of script output before headers: index.php


suphp.conf contains the following

LoadModule suphp_module modules/mod_suphp.so
<IfModule mod_suphp.c>
suPHP_Engine on
AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml
<Directory />
        suPHP_AddHandler application/x-httpd-php
</Directory>
<Directory /usr/local/apache/htdocs/>
        suPHP_UserGroup nobody nobody
</Directory>
</IfModule>
suPHP_AddHandler application/x-httpd-php44
suPHP_AddHandler application/x-httpd-php52
suPHP_AddHandler application/x-httpd-php53
suPHP_AddHandler application/x-httpd-php54
suPHP_AddHandler application/x-httpd-php55
suPHP_AddHandler application/x-httpd-php56
suPHP_AddHandler application/x-httpd-php70
suPHP_AddHandler application/x-httpd-php71


Any help is appreciated.  Thanks!

zerofox

I should mention I've already tried

yum reinstall cwp-suphp

I've also rebuilt the vhosts config, and I have tried to rebuild apache (though the 2.4.29 version that installed during the upgrade is not available in CWP; 2.4.26 is the latest version in the Apache Builder).

Also, there are no errors on httpd start.  Browsing to php pages generates a 500 error.

zerofox

For anyone stumbling across this, I was able to fix the problem by adding

User nobody
Group nobody


to my httpd.conf file.