• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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