• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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