1) Download httpd-2.2.2 and php-4.4.6
2) Install Mysql in /usr/local/mysql (from rpm or sources)
3) tar zxvf httpd-2.2.2.tgz
4) cd httpd-2.2.2
5) ./configure --enable-ssl --prefix=/usr/local/apache2/ --enable-so --with-included-apr --enable-rewrite
6) make
7) make install
8) cd ..
9) cd php-4.4.6
10) ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-xml --disable-dom --without-pear --with-pgsql --with-gd --with-zlib --enable-sockets
11) make
12) make install && cp php.ini-dist /usr/local/lib/php.ini
I recommend to read the INSTALL and README of both packages, they have usefull information.
Configure the /usr/local/lib/php.ini file because it could have security issues (ready my previous post about php security).
Add this entry to httpd.conf:
AddType application/x-httpd-php .php .phtml
Thanks
Walter










