Question about the xml *DOM* ...solved.
| From: | Kim, Sung-Sik | Date: | Sun, 21 May 2000 14:09:00 +0000 |
| Subject: | Question about the xml *DOM* ...solved. | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15284@lists.php.net to get a copy of this message | ||
> i installed libxml2 at /usr/local/libxml2/ directory.
> (PHP4RC2 + redhat 6.1)
>
> PHP configure
>
> $>./configure --with-apxs=/usr/local/apache_1.3.12/bin/apxs
> --with-dom=/usr/local/libxml2/
> ..........
>
> but the functions like XMLDOC() don`t work.
>
because libxml2.0 is different from libxml1.0 in *directory structure*.
so, the following job is need.
1) vi php-4.0.0/configure
11091 line
test -f $withval/include/gnome-xml/tree.h ....
===>
test -f $withval/include/libxml/tree.h ....
2) vi php-4.0.0/ext/domxml/php_domxml.h
38 line
#include <gnome-xml/parser.h>
==>
#include <libxml/parser.h>
3) ./configure --with-dom=/usr/local/libxml2/ ....
.....
sorry poor english
Happy PHPing..