• 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

FastCGI httpd error centOS

GunFood

Basic Pleskian
Hi,

I did the Upgrade to v9.3 on my centos machine.
After restart httpd (apache2) didn't start. So I run 'service httpd start' manual.
I got the folowing error:
Code:
Starting httpd: Syntax error on line 135 of /var/www/vhosts/domain.tld/conf/httpd.include:
can't get fastcgi file info: dynamic, errno: 2
The corresponding line in configuration:
Code:
<Files ~ (\.php)>
    SetHandler fcgid-script
=>  FCGIWrapper dynamic .php
    Options +ExecCGI
    allow from all
</Files>
I had to comment it out, to get apache working again. In Plesk FastCGI Support is available.

Any solutions?
 
Thanks. The recommand changes changed config after a '/usr/local/psa/admin/bin/websrvmgr --reconfigure-all'
Code:
<Files ~ (\.php)>
    SetHandler fcgid-script
    FCGIWrapper /usr/bin/php-cgi .php
    Options +ExecCGI
    allow from all
</Files>

'service httpd restart' worked without an error.

Thanks for your help.
 
Back
Top