The apache configuration system is pretty modular and management of upgrades is considerably eased if most of the configuration is (semi-)automatic.
In particular, the mod_php* packages could be installed without requiring any edits to httpd.conf if the packages came with .conf files for the modules and the Includes directories; administrators simply create symlinks to these files and the server is now configured. Example contents would be:
LoadModule php5_module libexec/apache24/libphp5.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Alternatively the files could be installed directly into the apache configuration directories then all that is needed is a simple restart.
(In reply to rearnsha from comment #0)
pasto error: First line of etc/apache24/Includes/mod_php.conf should read:
Assign to maintainer.
As for me, Apache web server is perfect tool for serving HTTP traffic. However, a lot of problems with this web server which happen quite often. For example, I one time I had debugging script execution problems. Didn't know how to solve them for quite a long time until I addressed experts at http://www.writemyessay24h.net/write-my-thesis.php.
As it a appeared, the reason problem was minor
%% 500 /var/tmp/apache/cgi-bin/print
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (PPC Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3
Agent: Mozilla/5.0 418.9.1