• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

FCGIWrapper dynamic 9.3 update

I

IP-Burn3r

Guest
Had to manually change this in all vhosts include file to the following --> FCGIWrapper /usr/bin/php-cgi .php
was FCGIWrapper dynamic .php


Apache would not restart when FCGIWrapper dynamic .php was present.


This error happened as soon as I updated to verison 9.3 from 9.2.3
 
The original issue occurs because CGI_PHP_BIN parameter specified not correct:

# grep -i cgi /etc/psa/psa.conf
CGI_PHP_BIN dynamic

that's why domain configs were generated incorrectly. For fixing that you have to fix it to /usr/bin/php-cgi

# sed -i -e 's/dynamic/\/usr\/bin\/php-cgi/' /etc/psa/psa.conf
 
If I run as FastCGI application all sites get a 500 internal error.

Running /usr/local/psa/admin/sbin/websrvmng -a -v only makes the problem worse, it adds spaces in the CGI_PHP_BIN parameter, in return service httpd will not restart. Would have to go and manually change all site's conf/httpd.include to fix the problem.


At this time Im running all sites as an apache module.

Thanks for the help. ;)
 
I haven't understood, whether my recommendation has helped?
 
Same Problem

Hi,
i have the same problem. all domains stop working when using php with fastcgi on one single domainl. Apache goes down and can't be restarted. Need help!!!
Greetings Feigl
 
Back
Top