From the output of phpinfo()
, --disable-dom
are included the configure command. How do I change it to --enable-dom
without recompiling PHP?
Edit: I'm using Fedora 10. The PHP i'm using is the one that came with it.
PHP
From the output of phpinfo()
, --disable-dom
are included the configure command. How do I change it to --enable-dom
without recompiling PHP?
Edit: I'm using Fedora 10. The PHP i'm using is the one that came with it.
Best Answer
Just install the package named php-xml, which provides the php-dom support.
You can find a list of downloads at http://rpm.pbone.net/index.php3/stat/4/idpl/10503222/com/php-xml-5.2.6-5.i386.rpm.html
Make sure to adjust configs in order to actually load the modules:
and restart apache.