Hab grad Apache2.2 inkl. mod_fcgid sowie Suexec auf einem Testserver installiert. Komm einfach nicht mehr weiter... HTML-Dateien kann ich aufrufen, PHP-Dateien geben einen 503: Service temporarly unavailabel...
error.log
Code: Select all
[Sun Nov 16 19:11:38 2008] [debug] arch/unix/fcgid_proc_unix.c(491): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /var/lib/apache2/fcgid/sock/5297.10
[Sun Nov 16 19:11:39 2008] [debug] arch/unix/fcgid_proc_unix.c(491): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /var/lib/apache2/fcgid/sock/5297.11
[Sun Nov 16 19:11:40 2008] [debug] arch/unix/fcgid_proc_unix.c(491): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /var/lib/apache2/fcgid/sock/5297.12
[Sun Nov 16 19:11:51 2008] [debug] arch/unix/fcgid_proc_unix.c(491): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /var/lib/apache2/fcgid/sock/5297.13
[Sun Nov 16 19:11:52 2008] [debug] arch/unix/fcgid_proc_unix.c(491): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /var/lib/apache2/fcgid/sock/5297.14
[Sun Nov 16 19:11:55 2008] [debug] arch/unix/fcgid_proc_unix.c(491): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /var/lib/apache2/fcgid/sock/5297.15
[Sun Nov 16 19:11:56 2008] [debug] arch/unix/fcgid_proc_unix.c(491): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /var/lib/apache2/fcgid/sock/5297.16
[Sun Nov 16 19:12:03 2008] [debug] arch/unix/fcgid_proc_unix.c(491): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /var/lib/apache2/fcgid/sock/5297.17
[Sun Nov 16 19:12:04 2008] [debug] arch/unix/fcgid_proc_unix.c(491): (111)Connection refused: mod_fcgid: can't connect unix domain socket: /var/lib/apache2/fcgid/sock/5297.18
[Sun Nov 16 19:12:04 2008] [warn] mod_fcgid: can't apply process slot for /var/www/testsite/htdocs/bak/index.phpDer user sollte "testuser" und nicht "www-data" sein??
Code: Select all
ls -l /var/lib/apache2/fcgid/sock/
insgesamt 0
srwx------ 1 www-data www-data 0 2008-11-16 19:23 5297.23
srwx------ 1 www-data www-data 0 2008-11-16 19:23 5297.24Code: Select all
cat /etc/apache2/sites-available/testsite.conf
<VirtualHost 192.168.2.70:80>
SuexecUserGroup testuser testgroup
AddHandler fcgid-script .php
DocumentRoot "/var/www/testsite/htdocs/"
DirectoryIndex index.php index.html index.htm
<Directory "/var/www/testsite/htdocs/">
FCGIWrapper /var/www/testsite/php-fcgi/php-fcgi-starter .php
#FCGIWrapper /var/www/testsite/php-fcgi/php5-fcgi .php
Options Indexes FollowSymLinks MultiViews +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/www/testsite/log/error.log
LogLevel debug
CustomLog /var/www/testsite/log/access.log combined
ServerSignature On
</VirtualHost>Code: Select all
cat /etc/apache2/mods-enabled/fcgid.conf
<IfModule mod_fcgid.c>
AddHandler fcgid-script .php
SocketPath /var/lib/apache2/fcgid/sock
IPCConnectTimeout 60
IPCCommTimeout 120
</IfModule>
MfG schnere