i compile php4.03pl1 with configure option:
--with-dom=/usr/local/libxml/lib
...which pionts at the *.so's for llibxml2-2.2.7.
it compiles error free. but all functions are undefined when i test them.
any ideas?
Have you installed libxml? make;make install? I supposse you have. Then I suggest you to build php as a module --with-apxs I have:
--enable-bcmath --with-db --enable-bottaro --with-apxs=/apache/bin/apxs --with-sablot --with-dom --enable-shmop --with-zlib --enable-track-vars --with-ftp --with-gettext --with-mysql --enable-trans-sid --with-gd --with-mcrypt --enable-sysvsem --enable-sysvshm
And works. Luis
libxml is compiled 😉
and php is compiled as an apache module.
i got it to work:
used the newest snapshot from snaps.php.net
and moved my libxml libraries to /usr/lib instead of specifiying a dir.
I'm also having a similar problem on a FreeBSD 4.2-STABLE system. I installed libxml2 from the ports and added --with-dom in one of the scripts of the mod_php4 tree. I can't get the module to compile!
what is the error that you are getting?
when is it happening? during configure? if so, look at the file config.log in your php source dir.