Hi to all,
I'm on plesk 8.6 on centos5.
I would like to run php as fastcgi.
I have set on flag in domain setup in plesk panel for:
fastcgi supports
cgi support
php (safe mode off)
File permission are no greater than 666
Folder permission are all 755
in vhsot.conf I have add
I receive error 500 if I call any page of the domain.
In the log error I have
Premature end of script
Any Help ? to get this right?
PS:
If I disable fastcgi/cgi support from plesk panel, php loaded as fastcgi but with apache user instead of domain user
I'm on plesk 8.6 on centos5.
I would like to run php as fastcgi.
I have set on flag in domain setup in plesk panel for:
fastcgi supports
cgi support
php (safe mode off)
File permission are no greater than 666
Folder permission are all 755
in vhsot.conf I have add
<IfModule mod_fcgid.c>
<Files ~ (\.php)>
SetHandler fcgid-script
FCGIWrapper /usr/bin/php-cgi .php
Options +FollowSymLinks +ExecCGI
allow from all
</Files>
</IfModule>
I receive error 500 if I call any page of the domain.
In the log error I have
Premature end of script
Any Help ? to get this right?
PS:
If I disable fastcgi/cgi support from plesk panel, php loaded as fastcgi but with apache user instead of domain user