So, wie ich es mir gedacht habe: Mein VHCS2-Problem!
Ich habe php als fastcgi installiert, mir ist es wichtig, dass jeder User zwischen PHP4 und PHP5 unterscheiden kann.
Und VHCS verlangt das PHP-Binary.
In folgender Zeile ist der Fehler:
Code: Select all
php_flag register_globals On
php_admin_value open_basedir
Meiner Meinung nach wird die darauffolgende Zeile auch einen Fehler auslösen, nur wird der nicht angezeigt, da die Datei nach dem ersten Fehler wahrscheinlich ignoriert werden wird.
Hier der Fehler-Code:
Code: Select all
Forcing reload of web server: Apache2 ... failed!
You may still have some apache2 processes running. There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone. Please review
the situation by hand.
Syntax error on line 22 of /etc/apache2/sites-enabled/vhcs2.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
Wie kann ich das umgehen?
Sicher, wahrscheinlich geht es mit apt-get php4, aber das ist doch nicht die richtige Lösung, wenn ich php_fastcgi benutzen will!
MfG schnere
Edit: Wenn ich die beiden Zeilen auskommentier kommt folgender Fehler beim Aufruf im Browser:
Code: Select all
The requested URL /var/www/cgi-bin/php-fcgi-starter/vhcs2/index.php was not found on this server.
Hier nochmal meine vhcs2.conf:
Code: Select all
Alias /vhcs2 /var/www/vhcs2/gui
<Directory /var/www/vhcs2/gui>
AllowOverride none
Options MultiViews IncludesNoExec FollowSymLinks
ErrorDocument 404 /vhcs2/errordocs/index.php
DirectoryIndex index.html index.php
</Directory>
SuexecUserGroup vhcs2 vhcs2
ScriptAlias /cgi-bin/ /var/www/php-fcgi-scripts/vhcs2/
<Directory "/var/www/php-fcgi-scripts/vhcs2">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/vhcs2/gui/tools/filemanager>
# php_flag register_globals On
# php_admin_value open_basedir "/var/www/vhcs2/gui/tools/filemanager/:/tmp/:/usr/share/php/"
</Directory>
Alias /vhcs_images /var/www/vhcs2/gui/images
<Directory /var/www/vhcs2/gui/images>
AllowOverride none
Options MultiViews IncludesNoExec FollowSymLinks
</Directory>
#
# Default GUI.
#
<VirtualHost _default_:*>
ServerName *
DocumentRoot /var/www/vhcs2/gui
<Directory /var/www/vhcs2/gui>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
# httpd [{IP}] virtual host entry BEGIN.
# httpd [{IP}] virtual host entry END.
# httpd Data END.