I've done this on non-cPanel servers, modifying PHP and re-compiling.
How do I do that on a cPanel server? Where do I find the php source on a cPanel server?
Do I use shell commands or the admin web interface?
=== Al
Personally, I think manual compiling is far better if you have any experience in that as you say that you do
However, Cpanel provides an interface to configure and setup both PHP and Apache called EasyApache and it is accessible on the web from the main WHM adminstrator panel or from the SSH shell.
In WHM, it's pretty obvious and you can select it from the menu.
In SSH, type /scripts/easyapache to get started.
If you want to manual compile your PHP (as I prefer) ....
Code:
# cd /usr/local/src
# wget http://us3.php.net/get/php-5.2.11.tar.bz2/from/this/mirror
# tar jxvf ./php-5.2.11.tar.bz2
# cd php-5.2.11
# ./configure !!! WHATEVER OPTIONS YOU WANT !!!
# make
# make check
# make install