Both SCGI and suEXEC are enabled
I just updated to cPanel 60. I got an email saying this:
Both SCGI and suEXEC are enabled. On the "Configure PHP and suEXEC" page toggle "Apache suEXEC" off then back on to disable SCGI.
I run CloudLinux w/ mod_lsapi and EasyApache 4. I ran the command /usr/local/cpanel/bin/rebuild_phpconf --current and it said the following:
DEFAULT PHP: ea-php70
ea-php70 SAPI: suphp
mod_lsapi is a drop-in replacement for suphp, so it is not surprising the the script returns that suphp is enabled. However, I don't see scgi or suexec enabled. What is going on?
Thanks!
-
Hello, The "/usr/local/cpanel/cgi-sys/scgiwrap" script is deprecated as of cPanel version 58. Internal case CPANEL-9285 removes /usr/local/cpanel/cgi-sys/scgiwrap as of cPanel version 62. In the meantime, check the permissions on this file with a command such as: ls -al /usr/local/cpanel/cgi-sys/scgiwrap
If it's set to 0755, you can disable it via command such as:chmod 0400 /usr/local/cpanel/cgi-sys/scgiwrap chmod +t /usr/local/cpanel/cgi-sys/scgiwrap
You can then browse to "WHM >> Security Advisor" to verify if the warning message still appears. Thank you.0
Please sign in to leave a comment.
Comments
1 comment