• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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