Hello I need to upgrade my VPS with latest PHP version. Can somebody explain me step by step how to do that? Thanks in advance
Gherca i want to make that via SSH,and maybe with simple control panel. But what i must type ? Can you write me here step by step. Gherca thanks
hi there, type in ssh.. yum upgrade i assume that your yum is outdated then yum install p.h.p(remove dot) they will automaticaly install the latest php version if its still insist...reinstalling the apache or any OS you using and then do yum upgrade first before installing anything then yum install php Good luck
Ok i was type yum upgrade and after that yum install php. After that i have message: Package php-5.1.6-27.el5_5.3.i386 already installed and latest version Nothing to do But when i go to check my PHP version in simple control panel there is still PHP 5.1.6 Where i make wrong step?
Hello there, You didn't take a wrong step. The repositories you are using have only release version 5.1.6. What OS are you using on your VPS? Regards, Chris
Hi Chris I use CentOS release 5.6 (Final) i686 i686 i386 GNU/Linux Chris what i must do to upgrade to latest version of PHP?
Hello Again, Try the following in your ssh terminal: yum --enablerepo=centosplus update php Code (markup): Chris
Yes i was type that and have this: Loaded plugins: fastestmirrors Determing fastest mirrors addons base centosplus centosplus/primary/db extras turbopanel-base turbopanel-centos5 update Seeting up Update Process No packages marked for update Ok Chris what next?
if still no luck, your last bet is to reinstall apache try googling your problem first maybe youll find a solution there good luck
That is incorrect advise. lapidus, you are not able to update to a newer version because the default repositories are not do not have the later versions. You need to let your package manager (yum) know to use a different repository. There are a few out there, each is a little different. Is this a production server with websites/clients on it right now? Please see the following page regarding repo's: http://wiki.centos.org/AdditionalResources/Repositories/ Regards, Chris
Chris thanks for this infos. and i go to that link which you provide me,but i don't know what i must do now about repositories. Please i need next thing what i must do. If you have a time please write me here, let's finish this, i be glad. Sincerely
Hello lapidus, after Google around, I found this: http://www.md3v.com/install-php-5-3-on-centos-5-6 Hope it help you.