Installing PHP 5.4 on CentOS 5.8

CentOS Logo

This tutorial is intended for system administrators wanting to install PHP 5.4 on CentOS 5.8

The reader should know how to configure a web server or application server and have basic knowledge of the HTTP protocol. Once finished the reader should have PHP 5.4 running with the default configuration.

Install Yum Priorities

For a brief overview on and how to configure Yum Priorities you can follow the instructions outlined in our Install YUM Priorities on CentOS tutorial.

# yum install yum-priorities

Installing PHP 5.4 on CentOS 5.8 x86_64

Install the EPEL x86_64 YUM Repository

# rpm -Uvh

Install the IUS x86_64 YUM Repository

# rpm -Uvh

Installing PHP 5.4 on CentOS 5.8 i386

Install the EPEL i386 YUM Repository

# rpm -Uvh

Install the IUS i386 YUM Repository

# rpm -Uvh

CentOS 6.3 Released

CentOS Logo

CentOS 6.3 has been released.

CentOS-6.3 is based on the upstream release EL 6.3 and includes packages from all variants. All upstream repositories have been combined into one, to make it easier for end users to work with.

CentOS 6.3 Downloads

You can download CentOS 6.3 via the web/ftp server or via BitTorrent (recommended) client.

CentOS 6.3 DVD ISO downloads

Choose a CentOS mirror close to you :

CentOS 6.3 Mirrors

CentOS 6.3 DVD ISO Torrents

Torrent files for the DVD’s are available at the following location:

Upgrading from CentOS-6.0 / 6.1 or 6.2

Unless you have edited your yum configs, a ‘yum update’ should move your
machine seamlessly from any previous CentOS-6.x release to CentOS-6.3