• 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

Generating new Apache configuration on host <domain> failed

qnet

Basic Pleskian
Generating new Apache configuration on host <domain> failed because the following error(s) occurred:

Syntax error on line 72 of /var/www/vhosts/domain/conf/13305166170.06926900_httpd.include:
Wrapper .php cannot be accessed: (2)No such file or directory


Please fix error(s) in templates of Apache configuration and retry generating the configuration file.

This is a domain that was just migrated from Plesk 8.4 on FreeBSD to Plesk 10.4.4 on Ubuntu.

The offending line is in this block:

<IfModule mod_fcgid.c>
<Files ~ (\.php)>
SetHandler fcgid-script
FCGIWrapper .php
Options +ExecCGI
allow from all
</Files>
</IfModule>

Notice the "FCGIWrapper" line is messed up. It should be "FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php".

Since Plesk generates this file automatically, I'm not sure what I could possibly be doing to have the configuration file not be generated properly. No other site on the server is having this problem.

Has anyone seen this before?
 
Back
Top