as root do this :
# wget http://layer1.cpanel.net/buildapache.sea
# sh ./buildapache.sea
and when you see :
Select skill level:
1) Beginner
2) Advanced
----&
press Ctrl-C
# cd buildapache
# wget http://rs1.php.net/do_download.php?download_file=php-4.2.3.tar.gz
then edit file buildscript (ex. # pico buildscript ) and change these lines:
echo -n &Untarring php....&
tar xfz php-4.2.2.tar.gz
echo &Done&
cd php-4.2.2
to
echo -n &Untarring php....&
tar xfz php-4.2.3.tar.gz
echo &Done&
cd php-4.2.3
and finish it with running of building script:
# ./buildscript
Update:
I also recommend for serious use of mysql php integration(faster, more stable better) to change
these values in 'buildscript' to switch from built-in mysql libraries to these original mysql ones:
this value is in buildscript twice, change both
--with-mysql
to
--with-mysql=/usr