Hallo zusammen!
Ich habe mir den aktuellen Apache und das PHP-zip Paket auf meinem
Rechner eingerichtet.
Dabei bin ich einer Anleitung aus meiner Schule gefolgt und es hat soweit alles bestens geklappt.
Ich kann im Browser über localhost/entwicklungsumgebung/index.html wunderbar auf die html Dateien zugreifen. Wenn ich allerdings eine PHP Datei öffne wird mir nur der PHP Quellcode angezeigt.
Ich habe hier schon im Forum, bei Google, bei Apache und bei PHP gesucht aber leider nix gefunden.
Hier mal die wichtigen Einträge aus der httpd.conf :
ScriptAlias "c:\php4\"
AddType application/x-httpd-php4 .php4
Action application/x-httpd-php4 "c:\php4\php.exe"
und hier die Einträge aus der php.ini:
error_reporting = E_ALL
display_errors = on
doc_root = c:\apache\htdocs
extension_dir = c:\php4\extensions\
Ansonsten scheint alles zu passen, nur dass mir der Parser nicht anspringt.
Über hilfe würde ich mich freuen,
Danke schonmal im vorraus,
MfG
pared.
Ich habe mir den aktuellen Apache und das PHP-zip Paket auf meinem
Rechner eingerichtet.
Dabei bin ich einer Anleitung aus meiner Schule gefolgt und es hat soweit alles bestens geklappt.
Ich kann im Browser über localhost/entwicklungsumgebung/index.html wunderbar auf die html Dateien zugreifen. Wenn ich allerdings eine PHP Datei öffne wird mir nur der PHP Quellcode angezeigt.
Ich habe hier schon im Forum, bei Google, bei Apache und bei PHP gesucht aber leider nix gefunden.
Hier mal die wichtigen Einträge aus der httpd.conf :
ScriptAlias "c:\php4\"
AddType application/x-httpd-php4 .php4
Action application/x-httpd-php4 "c:\php4\php.exe"
und hier die Einträge aus der php.ini:
error_reporting = E_ALL
display_errors = on
doc_root = c:\apache\htdocs
extension_dir = c:\php4\extensions\
Ansonsten scheint alles zu passen, nur dass mir der Parser nicht anspringt.
Über hilfe würde ich mich freuen,
Danke schonmal im vorraus,
MfG
pared.