Re: Problem when connect with pgsql

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



Hi Gita,

On Wed, 2006-06-14 at 15:56 +0700, Gita Purnamasari wrote:
> I am new on pgsql-php, whe i tried my new php script to connect with
> pgsql occur message : Call to undefined function pg_connect() when i
> try to connect with pgsql, is there some thing to be set ? 

Either you haven't enabled PostgreSQL support in your php.ini, or you
haven't installed pgsql extensions for PHP. The solution depends on your
operating system. For example for Linux variants, install php-pgsql (or
a similar name) package to enable PostgreSQL support for PHP. I'm not
sure how Windows guys do that.

Regards,
-- 
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/




[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