N
nikster77
Routinier
Hi. Hat jemand einen Schimmer warum PHP nicht ausgefuehrt wird?
Hier meine Config (commonapache2.conf):
Alias /virex/ "/local/meineseite/htdocs/"
<Directory /local/meineseite/htdocs/>
AddHandler cgi-script .cgi
Options FollowSymLinks +Indexes +ExecCGI
DirectoryIndex index.cgi
# Options MultiViews Includes FollowSymLinks +ExecCGI
AllowOverride All AuthConfig
Allow from all
Order allow,deny
AddHandler php4-script .php
</Directory>
Das startuperror.log sagt: SyntaxOK
Das error log sagt:
[Thu Jul 14 01:45:55 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Thu Jul 14 01:45:55 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 14 01:45:55 2005] [notice] Digest: done
[Thu Jul 14 01:45:56 2005] [notice] Apache/2.0.54 (Gentoo/Linux) PHP/4.4.0 mod_ssl/2.0.54 OpenSSL/0.9.7e DAV/2 configured -- resuming normal operations
Also PHP4 wird gestartet...
Ich habe in mime.types folgendes eingetragen:
application/x-httpd-php php
Ich habe in apache2.conf Include modules.d/*.conf aaktiviert
und lade das PHP-Modul auch noch mal zur Sicherheit mit LoadModule...
Trotzdem bekomme ich immer folgende Meldung:
File is of Type application/x-httpd-irgendwas and Mozilla does not know how to handle this...
Ich werd noch irre deswegen.
Danke
Niels
Hier meine Config (commonapache2.conf):
Alias /virex/ "/local/meineseite/htdocs/"
<Directory /local/meineseite/htdocs/>
AddHandler cgi-script .cgi
Options FollowSymLinks +Indexes +ExecCGI
DirectoryIndex index.cgi
# Options MultiViews Includes FollowSymLinks +ExecCGI
AllowOverride All AuthConfig
Allow from all
Order allow,deny
AddHandler php4-script .php
</Directory>
Das startuperror.log sagt: SyntaxOK
Das error log sagt:
[Thu Jul 14 01:45:55 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Thu Jul 14 01:45:55 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 14 01:45:55 2005] [notice] Digest: done
[Thu Jul 14 01:45:56 2005] [notice] Apache/2.0.54 (Gentoo/Linux) PHP/4.4.0 mod_ssl/2.0.54 OpenSSL/0.9.7e DAV/2 configured -- resuming normal operations
Also PHP4 wird gestartet...
Ich habe in mime.types folgendes eingetragen:
application/x-httpd-php php
Ich habe in apache2.conf Include modules.d/*.conf aaktiviert
und lade das PHP-Modul auch noch mal zur Sicherheit mit LoadModule...
Trotzdem bekomme ich immer folgende Meldung:
File is of Type application/x-httpd-irgendwas and Mozilla does not know how to handle this...
Ich werd noch irre deswegen.
Danke
Niels