Hi,
I'm running PHP 4.03 and I want to include postgres support by loading the extension dymacially (pgsql.so).
I have the postgres sever running (obviously).
My problem is that it doesn't want to load !
I downloaded the precompiled extension for PHP 4.0.3 and put it in my PHP library directory, modified the php.ini file and then updated ld.so.conf file. However if I look in the apache error log it has the following :
PHP Warning: Unable to load duynamic library '/usr/lib/php/no-debug-non-zts-20000809/pgsql.so' - libpq.so.2.1: cannot open shared object file, No such file or directory in unknown on line 0
However I have put /usr/local/lib/pgsql in my ld.so.conf file and run ldconf ??
What am I doing wrong ?