PHP 5 and DOM XML

From: Date: Sun, 13 Jul 2003 07:57:59 +0000
Subject: PHP 5 and DOM XML
Groups: php.install 
Request: Send a blank email to php-install+get-11276@lists.php.net to get a copy of this message
Hello, I've been trying to get DOM XML working with the new XML support (libxml2) for PHP 5. I've successfully configured and installed PHP 5 as an Apache2 module. Even though PHP installs ok and phpinfo() reports that all is ok for XML, including DOM, the domxml functions are nowhere to be found. The following is how I configured PHP 5: './configure' '--prefix=/usr/local/php5' '--enable-ftp' '--with-gd' '--with-mcrypt' '--with-mysql=/usr/local/mysql' '--enable-xml' '--with-dom=/usr/local/include/libxml2' '--with-dom-xslt=/usr/local/include/libxsl' '--with-libxml-dir=/usr/local/include/libxml' '--with-xsl=/usr/local/include/libxslt' '--with-zlib' '--with-regex=php' '--with-pgsql=/usr/local/pgsql' '--with-apxs2=/usr/local/apache2/bin/apxs' Furthermore, this is what phpinfo() says about DOM and other XML related stuff: [dom] DOM/XML enabled DOM/XML API Version 20030413 libxml Version 2.5.7 HTML Support enabled XPath Support enabled XPointer Support enabled [xml] XML Support active XML Namespace Support active libxml2 Version 2.5.7 [xsl] XML/XSLT enabled DOM/XSLT enabled libxslt Version 1.0.30 libxslt compiled against libxml Version 2.5.7 I had absolutely no build problems, even though I can't seem to use DOM XML. I'm running RedHat Linux 9 with Apache 2. Thanks for the direction! -Aaron Bockover

« previous php.install (#11276) next »