Re: can't connect to a postgreSQL database from PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Carlos wrote:

> I get the following error in the web navigator:
> "Fatal Error: Calling to undefined function pg_connect() ...)"

It seems that PHP can't find your pgsql dynamic extension.

Have you edited php.ini to have the correct lines:

    extension_dir = /path/to/php/extensions

    extension=pgsql.so



--
Benjamin Oris Jr. <bastabob@xxxxxxxxxxxx>
ImagineAsia Animation Studio


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux