php as fast-cgi

ferz721

Новичок
использовал этот туториал

конфиг

GNU nano 2.2.4 File: /etc/apache2/sites-available/test

<VirtualHost *:80>
ServerName www.test.domain
ServerAlias test.domain
ServerAdmin [email protected]
DocumentRoot /var/www/test/web/

<IfModule mod_fcgid.c>
SuexecUserGroup test test
<Directory /var/www/test/web/>
Options +ExecCGI
AllowOverride All
AddHandler fcgid-script .php
FCGIWrapper /var/www/php-fcgi-scripts/test/php-fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
</IfModule>

ErrorLog /var/www/test/log/error.log
CustomLog /var/www/test/log/access.log combined
ServerSignature Off

</VirtualHost>
test.htm доступен!

log
[Sat Nov 24 23:13:27 2012] [warn] [client 127.0.0.1] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Nov 24 23:13:27 2012] [error] [client 127.0.0.1] Premature end of script headers: index.php
[Sat Nov 24 23:13:27 2012] [warn] [client 127.0.0.1] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Nov 24 23:13:27 2012] [error] [client 127.0.0.1] Premature end of script headers: index.php
[Sat Nov 24 23:26:24 2012] [warn] [client 127.0.0.1] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Nov 24 23:26:24 2012] [error] [client 127.0.0.1] Premature end of script headers: index.php
на экране текст
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time >the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
права проверил. в чём ошибка?
 

michelle

Новичок
посмотри error_log апача - там должна быть более развернутое сообщение об ошибке
 
Сверху