Install PHP 5.3 and MySQL 5.5 to CentOS 5

To keep up with the latest versions of PHP and MySQL, CentOS 5 based Linux systems need to install the EPEL and Remi Repositories to get MySQL 5.5 installed to CentOS 5.

Commands are (as root):

yum install php53-mysql
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -iv epel-release-5-4.noarch.rpm
rpm -iv remi-release-5.rpm
yum upgrade mysql-server

The last will upgrade any installed version of MySQL server and clients software on your Linux system.

The first yum install command will bring in the PHP 5.3 and its mysql module and dependencies, which then get upgraded after the last yum upgrade is run.

FYI,
Richard.

This entry was posted in Network Presence and tagged , , . Bookmark the permalink.

One Response to Install PHP 5.3 and MySQL 5.5 to CentOS 5

  1. Pingback: How to install PHP 5.3 & recent MySQL 5 on you… | Network Presence Blog

Comments are closed.