Once the mod php package is installed, make sure that the following lines in httpd.conf are uncommented and the web server restarted:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps