You can't load libpq.so, but pgsql.so. If you compiled PostgreSQL extension as self contained module. (Location of shared object is probably wrong, also)
I suggest to compile PostgreSQL module in PHP. Minimum configure line would be ./configure --with-apxs --with-pgsql Make sure to use libpq7.1. With 7.0, it will gives you a lot of troubles. Regards, -- Yasuo Ohgaki ""Marc Blum"" <[EMAIL PROTECTED]> wrote in message 9c64tv$k7u$[EMAIL PROTECTED]">news:9c64tv$k7u$[EMAIL PROTECTED]... > Hello > > We're trying to get this running. php4 is running as dynamically linked > module. > > the php.ini file contains the entry: extension=libpq.so and extensiondir=./ > libpq.so has been copied to the php directory and the modules and libs > subdirs. > > postmaster is up and running but in our testscript the function pg_connect() > cannot be found (undefined) > > We assume that php (or apache?) doesn't load the libpq.so correctly... > > apache hasn't been configured --with-pgsql=?? but --enable-module=so has > been done. > > Your help is greatly appreciated! Please reply directly to > [EMAIL PROTECTED] > > Regards, Marc > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]