X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A6ABBDA35C for ; Mon, 21 Nov 2005 14:39:44 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94840-06 for ; Mon, 21 Nov 2005 18:39:43 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.199]) by svr1.postgresql.org (Postfix) with ESMTP id 7EFF1DA239 for ; Mon, 21 Nov 2005 14:39:41 -0400 (AST) Received: by nproxy.gmail.com with SMTP id y25so101427nfb for ; Mon, 21 Nov 2005 10:39:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=k4CwyjGoQIzcR7A82GGbL2ZUtdPdsnHGXxi5vs3wxKSnPY0xWeDH6m5WU/but8mPu7BfDN9kki+fNaSbTF+B3Ztu7QXxQrGP/dbzqqDnW/8jhTgmglqNmDcxIw52bAEuTD0LpTuFI65PPmzZXvn/sCD7Nb4vKknA2YPyBPqK6JA= Received: by 10.49.5.19 with SMTP id h19mr293351nfi; Mon, 21 Nov 2005 10:39:41 -0800 (PST) Received: by 10.48.239.4 with HTTP; Mon, 21 Nov 2005 10:39:41 -0800 (PST) Message-ID: Date: Mon, 21 Nov 2005 19:39:41 +0100 From: manjusri schuit To: Dave Wayne Subject: Re: postgres/php and windows Cc: pgsql-php@postgresql.org In-Reply-To: <004801c5ee1e$7193d330$6400a8c0@D8Z3YR81> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29060_19692797.1132598381776" References: <004801c5ee1e$7193d330$6400a8c0@D8Z3YR81> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200511/18 X-Sequence-Number: 3335 ------=_Part_29060_19692797.1132598381776 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello First you will need to know wheter php is been setup corectly. Paste this into a textfile or you're favorite editor and save it as phpinfo.php or so in you're webroot (mydrive\Apache Group\ApacheX\htdocs) then goto http://localhost/phpinfo.php 1) Configurationfile (php.ini) Path must piont to the place wher you stored you're php ini. 2) if you scroll down a bit you will find a block with "pgpsql" witchs mean= s that you have postgres support enabled in php. If not found that means you're php ini is not setup correctly check www.php.net for more info on how to setup php.in= i . -- Met vriendelijke groet Manjusri Schuit On 11/20/05, Dave Wayne wrote: > > Does anyone know if there is a good guide for setting up php to connect t= o > postgres under windows? I've set up postgres, however the PConnect functi= on > fails for some reason. > Any help would be appriecated > ------=_Part_29060_19692797.1132598381776 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello
First you will need to know wheter php is been setup corectly.

Paste this

<?php
phpinfo()
?>

into a textfile or you're favorite editor and save it as phpinfo.php or so in you're webroot (mydrive\Apache Group\ApacheX\htdocs)

then goto http://localhost/phpinfo= .php

1) Configurationfile (php.ini) Path must piont to the place wher you stored= you're php ini.
2) if you scroll down a bit you will find a block with "pgpsql"&n= bsp; witchs means that you have postgres support enabled in php.
If not found that means you're php ini is not setup correctly
check www.php.net for more info on how t= o setup php.ini.

--
Met vriendelijke groet
Manjusri Schuit

On 11/20/05, Dave Wayne <davewayne@shaw.ca> wrote:
Does anyone know if there is a good gu= ide for=20 setting up php to connect to postgres under windows? I've set up postgres,= =20 however the PConnect function fails for some reason.
 
Any help would be appriecated
 
 


------=_Part_29060_19692797.1132598381776--