• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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