Ok,
let's try it ...
download php-4.3.6.tar.gz from here
Copy the file to a directory on the server (e.g. /usr/src or /home/<username>)
and extract the archive:
tar xzf php-4.3.6.tar.gz
Then cd to that directory and execute the following commands:
- (on one line, I took the other options from the phpinfo output ... but IMHO --enable-force-cgi-redirect and --disable-cgi together doesn't make much sense ... should work anyways)
./configure
--with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql
--prefix=/usr/local/apache2/php
--with-config-file-path=/usr/local/apache2
--enable-force-cgi-redirect
--disable-cgi
--with-zlib
--with-gettext
--with-gdbm
--with-dom-xslt=shared
--with-dom=shared
make
find . -name "domxml.so"
you'll get something like
./ext/domxml/.libs/domxml.so
./modules/domxml.so
(on one line)
cp modules/domxml.so /usr/local/apache2/php/lib/php/extensions/no-debug-non-zts-20020429
then either enable the domxml extension in php.ini
extension=domxml.so
and remove the dl lines in the PHP scripts
or don't activate the extension in php.ini and leave the PHP scripts as they are (EDIT: an set enable_dl to On in php.ini in that case).
Do NOT (!) execute make install ...
Hope this works ....
Thomas