• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

FastCGI problem, Plesk 12, PHP 5.4

Alex1

New Pleskian
Hello.

OS: CentOS 6.6 (Final)
Plesk version: 12.0.18 Update #24

I updated PHP 5.3 to PHP 5.4 by using http://kb.odin.com/en/115833

So PHP doesn't run as FastCGI application.
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Premature end of script headers:

Can help me anyone?
 
after update I got error
Wrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper cannot be accessed: (2)No such file or directory
so I did like this
ln -s /usr/bin/sw-engine-cgi /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

now I have error in /var/log/httpd/suexec_log
uid: (10000/infinityadmin) gid: (503/503) cmd: cgi_wrapper
cannot stat program: (cgi_wrapper)
 
Plesk uses its own php-cgi version
/var/www/cgi-bin/cgi_wrapper/cgi_wrapper -> /usr/bin/sw-engine-cgi

I also followed the instructions but it did not work, to make it work I ended copying the php 5.4 version.
cp /usr/bin/php-cgi /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

It appears to be working now, please let me know if this is not the correct way to fix this.
 
Plesk uses its own php-cgi version
/var/www/cgi-bin/cgi_wrapper/cgi_wrapper -> /usr/bin/sw-engine-cgi

I also followed the instructions but it did not work, to make it work I ended copying the php 5.4 version.
cp /usr/bin/php-cgi /var/www/cgi-bin/cgi_wrapper/cgi_wrapper

It appears to be working now, please let me know if this is not the correct way to fix this.
This has worked for me too. Also i want to know if there is something more to do or this is correct.
 
Back
Top