Question

How to upgrade PHP version 5.3.3 to 5.3.10 to support Joomla 3.3?

  • Posted August 18, 2014

I have search but can’t find the solution, please advice.

[root@do1 ~]# php -version PHP 5.3.3 (cli) (built: Aug 6 2014 05:54:27) Copyright © 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies with Suhosin v0.9.29, Copyright © 2007, by SektionEins GmbH [root@do1 ~]# cat /etc/release CentOS release 6.5 (Final) CentOS release 6.5 (Final) CentOS release 6.5 (Final) cpe:/o:centos:linux:6:GA [root@do1 ~]#

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey guys

When I try running the upgrade command I get the following error…

Loaded plugins: fastestmirror, priorities

Error getting repository data for remi, repository not found

I didn’t see any errors when running the previous commands.

Any thoughts?

Thanks! Everything instructions followed went breeze! But when I started localhost/phpinfo.ini it is still the same 5.3.3 version. Maybe I’ll have to restart my computer.

In order to upgrade to a newer version of PHP in CentOS 6, you’ll need to enable some external repositories, EPEL and Remi. You can download the repositories’ information and enable them with:

wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

You can then upgrade PHP with:

yum upgrade --enablerepo=remi php