Php – How to –enable-xmlreader in PHP

PHP

I am running Fedora 10 and have php 5.2.9, Unfortunately I saw that '–disable-xmlreader' (from phpinfo() ) was passed to the RPM file when PHP was intalled. How can I enable xmlreader for a pre-existing php install?

Best Answer

1.wget http://dev.centos.org/centos/4/testing/i386/RPMS/php-xml-5.1.6-3.el4s1.7.i386.rpm 2. yum --enablerepo=centosplus install php-xml* 3. Restart apache
4. php -i |grep xmlreader and paste result here if stil not enable