monsterherz
23.02.06, 21:12
Wenn ich den localhost aufrufe kommt nur das Verzeichnis apache2-default
Beim Aufruf des Verzeichnisses startet der Server korrekt. Nur PHP-Scripte werden nicht ausgeführt. Zur Gruppe www-data habe ich mich hinzugefügt.
Wenn ich eine info.php aus dem Apache-Root-Verzeichnis aufrufe kommt das Download. Also muss doch irgend etwas mit der Modul-Aktivierung nicht stimmen?
Hat jemand einen Tipp wo der Fehler liegt? :confused:
danke
monsterherz
------------------------------------------------------------
Auszug der apache2.conf:
ServerRoot "/home/michi/www"
LockFile /var/lock/apache2/accept.lock
PidFile /var/run/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 20
MaxRequestsPerChild 0
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
<IfModule perchild.c>
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 0
AcceptMutex fcntl
</IfModule>
User www-data
Group www-data
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
# Include all the user configurations:
Include /etc/apache2/httpd.conf
# Include ports listing
Include /etc/apache2/ports.conf
# Include generic snippets of statements
Include /etc/apache2/conf.d/[^.#]*
TypesConfig /etc/mime.types
DefaultType text/plain
HostnameLookups Off
IndexOptions FancyIndexing VersionSort
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php5
AddType application/x-httpd-php-source .phps
AddType application/x-tar .tgz
# To use CGI scripts outside /cgi-bin/:
AddHandler cgi-script .cgi
Include /etc/apache2/sites-enabled/[^.#]*
Beim Aufruf des Verzeichnisses startet der Server korrekt. Nur PHP-Scripte werden nicht ausgeführt. Zur Gruppe www-data habe ich mich hinzugefügt.
Wenn ich eine info.php aus dem Apache-Root-Verzeichnis aufrufe kommt das Download. Also muss doch irgend etwas mit der Modul-Aktivierung nicht stimmen?
Hat jemand einen Tipp wo der Fehler liegt? :confused:
danke
monsterherz
------------------------------------------------------------
Auszug der apache2.conf:
ServerRoot "/home/michi/www"
LockFile /var/lock/apache2/accept.lock
PidFile /var/run/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 20
MaxRequestsPerChild 0
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
<IfModule perchild.c>
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 0
AcceptMutex fcntl
</IfModule>
User www-data
Group www-data
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
# Include all the user configurations:
Include /etc/apache2/httpd.conf
# Include ports listing
Include /etc/apache2/ports.conf
# Include generic snippets of statements
Include /etc/apache2/conf.d/[^.#]*
TypesConfig /etc/mime.types
DefaultType text/plain
HostnameLookups Off
IndexOptions FancyIndexing VersionSort
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php5
AddType application/x-httpd-php-source .phps
AddType application/x-tar .tgz
# To use CGI scripts outside /cgi-bin/:
AddHandler cgi-script .cgi
Include /etc/apache2/sites-enabled/[^.#]*