Apache and PHP

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search

Navigation

{{#lst:PHP|navbar}}: ...and Apache

Overview

This page is about interactions between the Apache web server software and the PHP interpreted language that is often used with it.

This is a growing seedling article. You can help HTYP by watering it.

Notes

  • If Apache insists on delivering PHP pages as downloads instead of executing them, add the following line to /etc/apache2/apache2.conf (or whatever its equivalent is on your system) (there may be a better way of doing this, but I don't yet know what it is):
AddHandler php5-script .php