PHP installation on Win XP IIS 5.1

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Jerome_Smith
Forum Newbie
Posts: 4
Joined: Sat Feb 05, 2005 6:27 pm
Location: Chile

PHP installation on Win XP IIS 5.1

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

did you turn on the postgre extension? http://php.net/pgsql
Post Reply