Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: postgres/php and windows



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 for more info on how to setup php.ini.

--
Met vriendelijke groet
Manjusri Schuit

On 11/20/05, Dave Wayne <davewayne(at)shaw(dot)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
 
 




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group