installing php5.3 with xml support on centos

just setup a new vps with centos and needed the latest php5.3 - heres the shortcuts

sudo rpm --import
cd /etc/yum.repos.d/
sudo wget
sudo yum --enablerepo=webtatic update php

php-xml is not availble in the webtatic repo - you can manually download the rpm from fubra with wget

sudo wget
sudo rpm -ivh php-xml-5.3.0-3.i386.rpm

restart apache, check you php.ini and away you go

refer: webtatic blog post for more info

Justin Kelly

Justin Kelly

Data Engineeer, Business Analytics, Web Developer, Library Technology specialising in PHP and Tableau

Based in Melbourne, Australia

Feel free to contact me or _justin_kelly