Follow the instructions for Installing with Shell Access. Edit /etc/httpd/httpd.conf. You need to do this with root access, so run sudo vi /etc/httpd/httpd.conf
(replace 'vi' with your favourite editor)
Uncomment the line starting LoadModule php4_module Uncomment the line starting AddModule mod_php4.c Save and exit
Run sudo apachectl restart
This restarts apache.
Go to the setup wizard as per the standard instructions.