PHP wird nicht dargestellt
Ich hab hier einen Server, auf dem (aus Überwachungszwecken) phpsysinfo drauf laufen soll. Das Gerät ist frisch installiert mit Debian 3.1 (Sarge) und Kernel 2.6.8. Apache drauf, PHP drauf und PHPsysinfo drauf. Folgendes Problem habe ich, sobald ich mit dem Firefox nachschauen möchte:
Gebe ich nur http://server/phpsysinfo/ ein, möchte der Firefox eine Datei vom Typ application/xhttp-php herunterladen. Die soll er aber nicht herunterladen sondern anzeigen ;).
Gebe ich http://server/phpsysinfo/index.php ein funktionierts ...
Irgendwas muss ich doch in der httpd.conf übersehen haben ...
Gebe ich nur http://server/phpsysinfo/ ein, möchte der Firefox eine Datei vom Typ application/xhttp-php herunterladen. Die soll er aber nicht herunterladen sondern anzeigen ;).
Gebe ich http://server/phpsysinfo/index.php ein funktionierts ...
Irgendwas muss ich doch in der httpd.conf übersehen haben ...
Please also mark the comments that contributed to the solution of the article
Content-Key: 11582
Url: https://administrator.de/contentid/11582
Printed on: April 24, 2024 at 22:04 o'clock
3 Comments
Latest comment
Hallo,
ist das vorhanden?
... schnip ...
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.php index.php4
</IfModule>
... schnip ...
<IfModule mod_php4.c>
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
</IfModule>
... schnip ...
Grüsse Mario
ist das vorhanden?
... schnip ...
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.php index.php4
</IfModule>
... schnip ...
<IfModule mod_php4.c>
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
</IfModule>
... schnip ...
Grüsse Mario