Jenny_Hopkins@toby-churchill.com wrote:
Alexis Lee wrote:
Did you build it the right way? You have to set some options or something to make it build as an Apache module. I think it builds as a CGI executable by default.
I built it - - with - pgsql - - with - apxs as per the documentation,
I realise this is deeply Not The Right Way To Do It, but if you like I can mail you my libphp4.so. It has pgsql compiled in. 23368 bytes, which seems rather small actually (just a loader?), but you could try it.
Otherwise, I'd suggest getting a copy of the Apache source. Install like so: src/apache-1.3.0 src/php-4.0.1
$ cd src/php-4.0.1 $ ./configure --with-pgsql --with-apache=../apache-1.3.0
(no warranty or batteries included) If you do the above, then follow the full install script they give you through. It will involve rebuilding and replacing httpd.
Alexis