In my system, have CentOS 5 and PHP 5.1.6. I tried to update php into version up(5.3)
yum update php
result: No Packages marked for Update
Anyone have any suggestions? Thanks!
In my system, have CentOS 5 and PHP 5.1.6. I tried to update php into version up(5.3)
yum update php
result: No Packages marked for Update
Anyone have any suggestions? Thanks!
For CentOS Version 4,
wget http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-10.noarch.rpm
wget http://rpms.famillecollet.com/el4.i386/remi-release-4-7.el4.remi.noarch.rpm
rpm -Uvh remi-release-4*.rpm epel-release-4*.rpm
cd /etc/yum.repos.d
wget http://rpms.famillecollet.com/remi-enterprise.repo
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
yum --enablerepo=remi list php
php.i386 5.3.2-1.el4.remi
yum --enablerepo=remi update php
I upgraded PHP 5.3.4 in two different systems( CentOS 5.4 & 4.7 ) successfully.
I tried the following Option to update PHP 5.3.4 successfully !!
For CentOS 5.4
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
webtatic RPM Install
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
PHP Install
yum --enablerepo=webtatic install php
PHP Update
yum --enablerepo=webtatic update php
By sheer coincidence I have just written this up for another question. I know this seems to be updating mysql, but it should force php to update and avoid a dependency issue. If php doesn't install by the time you have followed all the steps below, yum remove php and then run: yum --enablerepo=remi install php (and anything else you need)
Follow at your own risk etc:
NB: for 64-bit CentOS For 32-bit, leave off the .x86_64 suffixes
yum remove mysql mysql-server
su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm'
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh remi-release-5*.rpm
yum --enablerepo=remi install mysql.x86_64 mysql-server.x86_64
You might need to tack on any extras you need to the last yum command - eg: php-mysql php-devel php-pdo
in CentOS 5.6 (and others, presumably), you can:
yum install php53
if that gives you trouble, you may first have to
yum erase php5