pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: manjusri schuit <manjusri.schuit@gmail.com>
To: Dave Wayne <davewayne@shaw.ca>
Cc: pgsql-php@postgresql.org
Subject: Re: postgres/php and windows
Date: Mon, 21 Nov 2005 19:39:41 +0100
Message-ID: <ebedc620511211039j52f2b6a4i22d6b370988fb64b@mail.gmail.com> (raw)
In-Reply-To: <004801c5ee1e$7193d330$6400a8c0@D8Z3YR81>
References: <004801c5ee1e$7193d330$6400a8c0@D8Z3YR81>

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" 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 <http://www.php.net; for more info on how to 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 guide for setting up php to connect to
> postgres under windows? I've set up postgres, however the PConnect function
> fails for some reason.
>  Any help would be appriecated
>

view thread (7+ messages)  latest in thread

Message-ID: <ebedc620511211039j52f2b6a4i22d6b370988fb64b@mail.gmail.com>
Permalink:  ../ebedc620511211039j52f2b6a4i22d6b370988fb64b@mail.gmail.com/
Also on:    postgresql.org/message-id/ebedc620511211039j52f2b6a4i22d6b370988fb64b@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: manjusri.schuit@gmail.com, davewayne@shaw.ca
  Subject: Re: postgres/php and windows
  In-Reply-To: <ebedc620511211039j52f2b6a4i22d6b370988fb64b@mail.gmail.com>
  References: <004801c5ee1e$7193d330$6400a8c0@D8Z3YR81> <ebedc620511211039j52f2b6a4i22d6b370988fb64b@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox