1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP CGI 5.3 Error after Apache Update

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by CJZ, Sep 19, 2011.

  1. CJZ

    CJZ Basic Pleskian

    14
    85%
    Joined:
    Apr 27, 2011
    Messages:
    38
    Likes Received:
    0
    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
     
  2. CJZ

    CJZ Basic Pleskian

    14
    85%
    Joined:
    Apr 27, 2011
    Messages:
    38
    Likes Received:
    0
    *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: Sep 23, 2011
Loading...