Posted by Georgi Ivanov on 05/13/05 17:31
Hello,
I compiled PHP 5 with following ./configure line
../configure \
--prefix=/usr/local/php5 \
--with-apxs2=/usr/sbin/apxs2-prefork \
--with-config-file-path=/etc/php5 \
--enable-mbstring \
--enable-mbregex \
--with-mysql \
--with-gd \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--with-zlib-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-jpeg-dir=/usr/lib \
--with-tiff-dir=/usr/lib \
--with-ttf-dir=/usr/lib \
--with-freetype-dir=/usr/lib \
--enable-ftp \
--enable-memory-limit \
--enable-safe-mode \
--enable-bcmath \
--enable-calendar \
--enable-ctype \
--with-ftp \
--with-bz2 \
--enable-inline-optimization \
--with-iconv \
--with-xsl \
--with-bz2 \
--enable-soap \
--enable-sockets \
--enable-zend-multibyte \
--enable-magic-quotes \
--with-openssl \
--with-sqlite \
--enable-sqlite-utf8 \
--with-xmlrpc \
--enable-xslt \
--with-xslt-sablot \
--with-dom \
--with-dom-xslt \
--with-dom-exslt
phpinfo() say that i have DOM enabled
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.17
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
But it gives me error on this line :
$DomDocument = domxml_open_file($file);
Any ideas ?
[Back to original message]
|