| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|How to upgrade PHP version?|
| 3:20 am on Dec 17, 2007 (gmt 0)|
I am trying to use YUM to upgrade the PHP version in my VPS from 4.3.9 to 5.x. I use YUM to do so.
> yum update php
After a reboot, the PHP version is still the same.
I am not sure how the yum works and where yum gets its software updates from.
Must I update YUM first?
How can I update yum?
Is there other ways to update software like RPM? I am not sure about RPM as well.
I would like to understand YUM more so that I can update other software. The OS is CentOS 4.
| 4:26 pm on Dec 17, 2007 (gmt 0)|
yum will not upgrade CentOS php 4 to PHP 5. This is done to keep system integrity. You have 2 choice
#1 Remove PHP 4 and manually install php 5 (which may or may not work). You need to download php5 rpm from centos mirror
#2 Upgrade to CentOS 5 which comes with Apache 2.2 and PHP 5.1.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved