note 19202 added to ref.domxml
| From: | jon dot sprague at php2 dot chek dot com | Date: | Tue, 19 Feb 2002 17:54:45 +0000 |
| Subject: | note 19202 added to ref.domxml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26802@lists.php.net to get a copy of this message | ||
This is what I did to get DOM to work with PHP on a Linux box.
1.
I installed zlib-1.1.3 from source (http://www.gzip.org/zlib/).
Don't forget the "./" in front of configure (the README leaves this out).
I did a ldconfig -v (and I checked to make sure libz is there).
2.
I installed libxml2-2.4.9 from source (ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/).
I used the "--with-zlib" extention.
I looked at the output of configure to make sure it found zlib (looked something like this:
"checking for zlib.h... yes").
I did a ldconfig -v (and I checked to make sure libxml is there).
3.
Then I installed PHP (ver. 4.1.1).
I used the "--with-dom --with-zlib" extentions.
I then made sure PHP recognized them by reading the output of configure:
(checking for DOM support... yes),
(checking if the location of ZLIB install directory is defined... no) I ignored this,
(checking whether to include ZLIB support... yes).
As always reading the INSTALL and/or README files help tremendously.
I hope this helps someone!
--
http://www.php.net/manual/en/ref.domxml.php
http://master.php.net/manage/user-notes.php?action=edit+19202
http://master.php.net/manage/user-notes.php?action=delete+19202
http://master.php.net/manage/user-notes.php?action=reject+19202