When I execute a pg_connect() in a .php file, I get an error indicating that
the function is not defined...

That's because, in the Apache error log I'm getting the following:

PHP Warning:  Unable to load dynamic library '/usr/lib/pgsql.so' -
libpq.so.2.0: cannot open shared object file: No such file or directory in
Unknown on line 0

I have confirmed that my pgsql.so and libpq.so.* files are in my directory
specified in the php.ini file. And that the exention for pgsql.so exists in
the php.ini also.

Would anyone know what I missed here?
Sean McCoy

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]

Reply via email to