Saturday, May 21, 2005

Apache and PHP

These are the lines you need in your apache2.conf (aka httpd.conf in non-gentoo distros):

# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-phps-source .phps


This will allow apache and php to play together.

No comments: