sumber : http://www.how2centos.com/
Installing PHP 5.4 on CentOS 6.2
The assumption for installing PHP 5.4 on CentOS 6.2 tutorial is that you are running as root and have a basic understanding of the software required but if you follow this tutorial you should be able to complete the task successfully.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 6.2 x86_64
Install the EPEL x86_64 YUM Repository
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm
Install the IUS x86_64 YUM Repository
# rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/ius-release-1.0-10.ius.el6.noarch.rpm
# yum install php54 php54-common php54-devel
# php -v
PHP 5.4.5 (cli) (built: Jul 23 2012 10:10:54)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Installing PHP 5.4 on CentOS 6.2 i386
Install the EPEL i386 YUM Repository
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
Install the IUS i386 YUM Repository
# rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/ius-release-1.0-10.ius.el6.noarch.rpm
# yum install php54 php54-common php54-devel
# php -v
PHP 5.4.5 (cli) (built: Jul 23 2012 10:10:54)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Install yum priorities on CentOS
The Yum Priorities plugin can be used to enforce ordered protection of repositories, by associating priorities to repositories.The priorities plugin is a useful tool if properly configured, and used with an understanding of the functionality and a recognition of the limitations and potential issues. It can be used in conjunction with the ‘exclude’ and/or ‘includepkg’ options, as well as the ‘enabled=0′ option to disable a repo by default. This can let you choose which packages a less important repo will supersede those of a more important one.
Install Yum Priorities
# yum install yum-priorities[Read More...]
Installing PHP 5.4 on CentOS 5.8
This tutorial is intended for system administrators wanting to install PHP 5.4 on CentOS 5.8The 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 http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Install the IUS x86_64 YUM Repository
# rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-10.ius.el5.noarch.rpm
# yum install php54 php54-common php54-devel
# php -v
PHP 5.4.5 (cli) (built: Jul 23 2012 10:10:54)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Installing PHP 5.4 on CentOS 5.8 i386
Install the EPEL i386 YUM Repository
# rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Install the IUS i386 YUM Repository
# rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/ius-release-1.0-10.ius.el5.noarch.rpm
# yum install php54 php54-common php54-devel
# php -v
PHP 5.4.5 (cli) (built: Jul 23 2012 10:10:54)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
CentOS 6.3 Released
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 yourmachine seamlessly from any previous CentOS-6.x release to CentOS-6.3













