View Full Version : How do I upgrade PHP?
chris1979
01-13-2010, 01:38 PM
I want to upgrade to vb4 but it means I need to upgrade PHP on my server.
My hosting company offers zero support so I need to do it myself (or get a new hosting company!).
It's a CentOS environment and I have SSH access.
Can anyone point me in the right direction?
Lynne
01-13-2010, 01:50 PM
Hire someone (that's my way :) )? Or google?
dtv100
01-13-2010, 02:08 PM
if by any chance you are using directadmin you can go to there forum and read in the how to section.
chris1979
01-13-2010, 02:12 PM
I would be happy to hire someone but knowing who to trust (with my root password, etc.) is also an issue. I think it is quite easy to do this, from my googling, but I cannot quite work it out.
I don't user directadmin.
Angel-Wings
01-13-2010, 03:35 PM
Locate your php.ini and back it up - then something like:
rpm -U --test php
to see which version is available from the repositories and then without the "--test" to do the upgrade. Then again the same with all required extensions and dependant packages.
Finally merge the old and new php.ini and restart your Webserver :)
motowebmaster
01-17-2010, 10:31 PM
One common way is to change your yum repositories. This one works with CENTOS:
http://www.atomicorp.com/channels/atomic/
It's simple, but you would want to do a bit of research before attempting the change. I've seen some posts from others who had a great deal of difficulty doing this.
However, one has to weigh the benefits. I'm still running vb4 only as a test site :erm:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.