• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP CGI 5.3 Error after Apache Update

CJZ

Basic Pleskian
Hello,

I have had this problem before and followed the way to fix it. Before I updated my Apache and ran into running PHP as CGI issues and did the following commands to fix it:
cp -f /usr/local/psa/suexec/psa-suexec /usr/sbin/suexec
chown root:apache /usr/sbin/suexec
chmod 4510 /usr/sbin/suexec
/etc/init.d/httpd restart

That fixed the problem before so I wrote a script that I can run after I update HTTPd. Now I just updated HTTPd again (V. 2.2.3) and PHP is V. 5.3.8 (Plesk Package) via "yum update", and now I get 500 Internal Errors on the sites running as CGI but they work running as apache modules.

Any help? thank you.

Running:
Centos 5 (Linux 2.6.18-194.26.1.el5xen)
Plesk Panel 10.3.1
 
*BUMP*

I'm in NEED of a fix to this! users cannot upload files in their joomla sites since they "do not have permission"

*EDIT*

I figured it out. The Suexec log file finally had the issue. The file:

/var/www/cgi_bin/cgi_wrapper/cgi_wrapper did not have execution set on it.
 
Last edited:
Back
Top