What OS are we talking about the above is the Windows way. Linux is slightly different but not much
you just need to specify the in the php install
--with-apxs2=/path/to/apxs
then in the httpd.conf
AddType application/x-httpd-php .php
LoadModule php5_module modules/libphp5.so
And i think thats basically all thats required.