Browser speichert PHP-Datei, statt zu parsen

Alles, was PHP betrifft, kann hier besprochen werden.

Browser speichert PHP-Datei, statt zu parsen

Postby PatrickKByte » 08. February 2007 17:19

Hallo!

Ich habe auf einem Debain3 Linux einen Apache 1.3.34 laufen. Dann hab ich per
Code: Select all
apt-get install php4
auch PHP installieren wollen. Linux hat das auch bestätigt. nach einem Neustart und das Anlegen einer PHP-Datei wird diese aber leider nicht ausgeführt.

Dies wird wahrscheinlich an den MIME-Typen oder so hängen?
Ich hab in der HTTPD.CONF schon die Zeilen
Code: Select all
AddType application/x-httpd-php .php
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php-source .phps

... aktiviert und den Apache neugestartet... leider immernoch nichts.

Was hab ich übersehen?

Vielen Dank für eure Hilfe!

patrick
PatrickKByte
 
Posts: 5
Joined: 08. February 2007 16:45
Location: Hünfeld

Postby Wiedmann » 08. February 2007 17:22

Gibt es auch irgendwo ein "LoadModule" wo du das PHP-Modul lädst?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby PatrickKByte » 08. February 2007 17:26

erst einmal vielen Dank für deine Hilfestellung.

Nein, ich habe lediglich ne Zeile drin:

Code: Select all
# Please keep this LoadModule: line here, it is needed for installation.
Include /etc/apache/modules.conf


Ich bin Linux Rookie.
Ist das so gemeint, dass das Modul in der modules.conf aufgeführt sein muss?
PatrickKByte
 
Posts: 5
Joined: 08. February 2007 16:45
Location: Hünfeld

Postby Wiedmann » 08. February 2007 17:50

Ich bin Linux Rookie.

Was soll ich als Linux-Abstinenzler dazu sagen... ;-)

Ist das so gemeint, dass das Modul in der modules.conf aufgeführt sein muss?

Entweder da, oder sonst irgendwo.

Aber diese Datei scheint ja bei deiner Distributin dafür vorgesehen zu sein.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to PHP

Who is online

Users browsing this forum: No registered users and 22 guests