Startseite der Fachhochschule Bochum Zentrale Startseite des Fachbereichs Wirtschaft Gremien im Fachbereich Suchen und Finden Ein Klick bringt Sie stets auf diese Seite! Studiengänge, auch internationale Auslandsaufenthalte, Partneruniversitäten Einrichtungen im Fachbereich Personalia, Professoren, Mitarbeiter Kontaktadressen und Infos
FB-Wirtschaft - Navigation
Änderungen an der httpd.conf
[Inhaltsverzeichnis]

Nachfolgend die Änderungen die an der httpd.conf des Apache durchgeführt werden müssen, damit der Webserver PHP interpretiert. In der httpd.conf scrollen Sie solange bis Sie ungefähr bei Zeile 820 sind.
Dann sollten Sie folgenden Text sehen:
# AddHandler allows you to map certain file extensions to "handlers",
# actions unrelated to filetype. These can be either built into the server
# or added with the Action command (see below)
#
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#
# To use CGI scripts:
#
#AddHandler cgi-script .cgi

An diese Stelle fügen Sie folgendes ein:


AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php /php/php.exe

Die httpd.conf sieht anschliessend wie folgt aus:

# AddHandler allows you to map certain file extensions to "handlers",
# actions unrelated to filetype. These can be either built into the server
# or added with the Action command (see below)
#
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#
# To use CGI scripts:
#
#AddHandler cgi-script .cgi
AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php /php/php.exe


Mail an Christian Metzger
Stand: SS 2003 CM - Impressum
©Fachbereich Wirtschaft, Lennershofstr. 140, D-44801 Bochum, Germany