Hi,
To upgrade PHP 4 (not PHP5) on a non-cPanel server such as one with Webmin, you can do the following:
1. First, backup grub.conf:
cp /etc/grub.conf /etc/grub.conf.back
2. Run yum upgrade:
yum update
3. Let yum process, and once it is done, check grub to show the new and old kernel:
vi /etc/grub.conf
It should show the new kernel and the old kernel in that file. Compare the one you backed up (/etc/grub.conf.back) to check that the old kernel is truly listed in the new file. If it isn't, you must copy the last kernel info over from /etc/grub.conf.back file and add it below the new kernel.
Also, check the top line has the following:
default=0
If instead it has:
default=1
Change this 1 to a 0 before you leave the file.
Check the kernel now shows the new version:
uname -r
Now that you've made sure the new kernel is upgraded and the server will still boot to the old if the new doesn't work, you can do the reboot to get the new kernel working on the system:
reboot
At this point, your server will go down for around 5-15 minutes. If the server is not back after waiting 20 minutes, you should go into
http://dedicated@lunarpages.com/ to let an admin know so we can check for you or send a ticket to
dedicated@lunarpages.comIt is best to choose to do this upgrade during times when we have the most admins available to assist you such as from 6am - 8pm Pacific time in the U.S. from Monday to Friday. Picking other times might delay getting assistance if the server does not come back from reboot.
Please post here if you have any questions or concerns.
Thanks.