Re: PHP, Apache & PostgreSQL
| From: | Steve Brett | Date: | Mon, 23 Jul 2001 09:50:19 +0000 |
| Subject: | Re: PHP, Apache & PostgreSQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10656@lists.php.net to get a copy of this message | ||
php is not compiled with postgresql support.
Steve
"Sean McCoy" <php-db@lists.php.net> wrote in message
news:20010721003113.23782.qmail@pb1.pair.com...
> 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?
> Thanks,
> Sean McCoy
> sean@primenet.com
>
>
>