Hello,
I am trying to build php as an apache module with Expat and Sablotron support.
Here is the command line i used:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-track-vars --enable-xslt --with-xslt-sablot --with-expat-dir=/usr/local/lib --disable-xml
(NB: it seems you need the --disable-xml so that I could specify an alternative dir for expat, and it wouldn't work unless i specified an alternative dir for expat.)
It all seemed to work fine (no errors on configure or make/make install), but when restarting apache I got an error message saying: 'libphp4: .... could not load libexpat.so.0 ... no such file or directory...'
I installed expat and sablotron to /usr/local/lib, which as you can see I specified when running the configure script.
I am using php 4.0.6. and have the latest expat and sablotron.
Any ideas?
Any help regarding this matter would be much appreciated... has anyone managed to get this to work? - If so could they e-mail me some details... where they installed expat, the full command line to run the configure script etc etc
Thanks in advance.
Gareth Down
gareth.down@btinternet.com