Hi @all!
I have the huge problem on my fresh and clean Debian 7.2 - Plesk 11.5.30 MU19 rootserver, that I can't use the php-handler as fastcgi.
The server came with PHP 5.4.4 as the standard installation. It works as apache module and cgi-application without any problems.
I can choose "set php as fastcgi-application" without errors, the last_httpd.conf of the vhost shows:
But if I call a .php the file starts to download.
Unfortunately there is no error for this case in any log (/var/log/apache2/error.log or vhosts/system/domain.com/logs/error.log).
All other apache-modules are working, but I have to install "libapache2-mod-fastcgi" manually for fastcgi-support.
I have tried to compile and use other PHPs (5.3.27, 5.4.20 and 5.5.5), the error is the same.
I could register the compiled php without any error in plesk.
Does anybody know how to fix it?
I try to solve this for three days now without success.
Thomas
I have the huge problem on my fresh and clean Debian 7.2 - Plesk 11.5.30 MU19 rootserver, that I can't use the php-handler as fastcgi.
The server came with PHP 5.4.4 as the standard installation. It works as apache module and cgi-application without any problems.
I can choose "set php as fastcgi-application" without errors, the last_httpd.conf of the vhost shows:
Code:
SetEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/domain.com/etc/php.ini
SetEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
<IfModule mod_fcgid.c>
FcgidInitialEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/domain.com/etc/php.ini
FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
FcgidMaxRequestLen 134217728
</IfModule>
...
<IfModule mod_fcgid.c>
<Files ~ (\.fcgi$)>
SetHandler fcgid-script
Options +FollowSymLinks +ExecCGI
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (\.php$)>
SetHandler fcgid-script
FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
Options +ExecCGI
</Files>
</IfModule>
But if I call a .php the file starts to download.
Unfortunately there is no error for this case in any log (/var/log/apache2/error.log or vhosts/system/domain.com/logs/error.log).
All other apache-modules are working, but I have to install "libapache2-mod-fastcgi" manually for fastcgi-support.
I have tried to compile and use other PHPs (5.3.27, 5.4.20 and 5.5.5), the error is the same.
I could register the compiled php without any error in plesk.
Does anybody know how to fix it?
I try to solve this for three days now without success.
Thomas