Page 1 of 1

PHP installation on Win XP IIS 5.1

Posted: Thu Feb 24, 2005 6:42 am
by Jerome_Smith
Hello all,

I'm new to PHP. I have a problem that seems to be due to installation. I have WinXP with IIS 5.1, and installed PHP for Windows. Everything seems to be OK: I can run simple scripts. However, when I run a script with the pg_connect() function I get the following error message:

Fatal error: Call to undefined function: pg_connect() in
c:\inetpub\wwwroot\functions.inc.php on line 5

So it seems to not be recognizing the PHP function pg_connect().

I would greatly appreciate somebody's help.

Jerome Smith

Posted: Thu Feb 24, 2005 8:14 am
by feyd
did you turn on the postgre extension? http://php.net/pgsql