Ashley Sheridan wrote:



OK, I seem to have answered my own question!

It seems that even though PHP had the XML module enabled, I still needed
to run 'yum update php-xml' in order for it to load in the DOM module.
It's now working fine, and for those of you interested, the ./configure
line in phpinfo() still says --disable-dom!

Yes.
I'm quite familiar with the rpm build process for php.

The initial build of php is without support for any of the modules. Then the modules are built. So the configure command for the core php apache DSO has just about everything disabled.

A nasty side effect of doing it this way - if you ever need to rebuild the src.rpm, either do it in a chroot build environment (such as mock) or be sure to remove all the old php packages - because what can happen is the new php is built but when it then goes to build the modules, it links them against installed php instead of the php it just built.

They may have fixed that in the Makefile, I don't know, but the net result can be a set of rpms that are broken.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to