Steps involved in setting up a new CentOS server:
yum groupinstall 'Development Tools' yum groupinstall 'Development Libraries' yum install compat-db openssl097a
yum -y remove php-cli php-common php yum -y install mysql-server ntsysv mod_ssl yum -y install php53 php53-cli php53-gd php53-imap php53-mysql php53-pdo php53-bcmath php53-dba php53-intl php53-mbstring php53-odbc php53-soap php53-xml php53-xmlrpc
wget http://pear.php.net/go-pear.phar php go-pear.phar pear upgrade-all pear install Mail Mail_Mime Net_SMTP
PEAR will be installed in /usr/share/pear
and is included in PHP's configuration by default.
yum -y install pcre-devel libxpm-devel libc-client-devel icu libicu-devel mysql-devel unixODBC-devel postgresql-devel aspell-devel net-snmp-devel
yum groupremove "X Window System"