You are not logged in.
Need help to upgrade PHP from 5.3.1 to 5.4.17(stable).
CentOS release 4.1 (Final)
PHP 5.3.1 /Zend Engine v2.3.0,
Tried to install the 5.4 by below,
[root@myhost ~]#yum install php54w php54w-common php54w-devel php54w-fpm php54w-gd php54w-pdo php54w-pgsql php54w-pecl-memcache php54w-mcrypt php54w-mbstring php54w-xml
No Match for argument: php54w
- - -
No Match for argument: php54w-xml
Nothing to do
Tried from the link but hot of help : http://www.if-not-true-then-false.com/2 … -hat-rhel/
That link talks about installing it on CentOS 5 or 6, but you seem to be on 4... So, it may not work on a distro that old... Or, rather, you may have to jump through a lot more hoops to get it working, anyway... Like maybe downloading the PHP source and compiling it yourself... Maybe some third-party repo (epel, rpmforge, etc.) has ready to go packages built for CentOS 4, but I don't know...
Thank you Rob Seace.
1. I've Centos 4 Release, can i upgrade to php 5.4.17 without changing my centos from current release
2. Anyone knows Remi(http://rpms.famillecollet.com/)? i 'm guessing its repository for latest rpms in older releases(like centos4), please correct
3. Can i Erase below already installed and install the new rpm's.
Last edited by santoshkumar (2013-08-21 05:11 AM)
I don't have any idea if you can find readymade packages for the newer PHP for CentOS 4 or not... You'll just have to go looking through the repos yourself... I can see that Remi repo doesn't have it available at least... The newest PHP version they have for RHEL 4 (ie: CentOS 4) is 5.3.10... Neither rpmforge nor epel seem to have newer versions of base PHP available for CentOS 4 at all... I checked a couple others too, and still don't see it anywhere... So, I don't know where you can find it, if anywhere...