Hallo everyone,
im currently trying to get my apache running.
But im stucked because every php file is not interpreted, they are only downloadable. I first thought directory index was missing, but it didnt helped. So im asking the whole forum for a little hint
fastcgi.conf:
Code:
<IfDefine FASTCGI>
<IfModule !mod_fastcgi.c>
LoadModule fastcgi_module modules/mod_fastcgi.so
</IfModule>
<IfModule mod_fastcgi.c>
FastCgiWrapper /usr/sbin/suexec2
FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000
FastCgiConfig -minProcesses 1 \
-maxProcesses 400 \
-maxClassProcesses 5 \
-multiThreshold 80 \
-killInterval 60 \
-startDelay 5 \
-idle-timeout 300
# -singleThreshold 100 \
# -autoUpdate \
# -pass-header HTTP_AUTHORIZAT
AddHandler php-fastcgi .php .php5
<Location /cgi-bin/php-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>
<Location /php5/php5-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>
Action php-fastcgi /php5/php5-fcgi-starter
AddType application/x-httpd-php .php .php5
</IfModule>
</IfDefine>
from the 00_master.conf
Code:
<IfModule mod_fastcgi.c>
# FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
# FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter
AddHandler fcgid-script .php
Options +ExecCGI
</IfModule>
notice the second #. without im getting errors.
apache restart log:
Code:
[Tue Apr 15 19:28:56 2008] [notice] caught SIGTERM, shutting down
[Tue Apr 15 19:29:00 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/sbin/suexec2)
[Tue Apr 15 19:29:00 2008] [notice] FastCGI: process manager initialized (pid 6809)
[Tue Apr 15 19:29:00 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 6810)
[Tue Apr 15 19:29:00 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g mod_fastcgi/2.4.6 PHP/5.2.6RC4-pl0-gentoo configured -- resuming normal operations
I hope someone has a hint for me XD
greez
/Z