[PHP-DB] Connecting to a remote postgres database

2001-04-19 Thread Jerome O Macaranas
using PHP 4.0 under Win2K IIS 5.0 got this error - Fatal error: Call to undefined function: pg_connect() in C:\Inetpub\PHPwwwroot\index.php on line 17 is there something i have to load.. why undefined function? code: $dbname = pg_connect ("host=computer.test.com port=5432 dbname=test

Re: [PHP-DB] Connecting to a remote postgres database

2001-04-19 Thread Yasuo Ohgaki
Did you have install pgsql.dll in your system directory? and load the extension? I noticed pg_cmdtuples() is missing, though. -- Yasuo Ohgaki ""Jerome O Macaranas"" [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... using PHP 4.0 under Win2K IIS 5.0 got this error - Fatal error:

[PHP-DB] Connecting to a remote postgres database

2001-04-19 Thread Jerome O Macaranas
using PHP 4.0 under Win2K IIS 5.0 got this error - Fatal error: Call to undefined function: pg_connect() in C:\Inetpub\PHPwwwroot\index.php on line 17 is there something i have to load.. why undefined function? code: $dbname = pg_connect ("host=computer.test.com port=5432 dbname=test

Re: [PHP-DB] Connecting to a remote postgres database

2001-04-19 Thread Rasmus Lerdorf
Uncomment this line in your php.ini file: extension=php_pgsql.dll -Rasmus On Thu, 19 Apr 2001, Jerome O Macaranas wrote: using PHP 4.0 under Win2K IIS 5.0 got this error - Fatal error: Call to undefined function: pg_connect() in C:\Inetpub\PHPwwwroot\index.php on line 17 is there

Re: [PHP-DB] Connecting to a remote postgres database

2001-04-19 Thread Yasuo Ohgaki
I use binary from www.php4win.de with Apache/W2K for testing codes under my PC. Since php_pgsql.dll does not have pg_cmdtuples(), PostgreSQL/Windows combination is not suitable for not only production use but also testing. Did anyone compile php_pgsql.dll with pg_cmdtuples()? If there is