pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feedpostgres/php and windows
7+ messages / 6 participants
[nested] [flat]
* postgres/php and windows
@ 2005-11-20 22:04 Dave Wayne <davewayne@shaw.ca>
0 siblings, 5 replies; 7+ messages in thread
From: Dave Wayne @ 2005-11-20 22:04 UTC (permalink / raw)
To: pgsql-php
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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: postgres/php and windows
@ 2005-11-20 23:25 Michael Glaesemann <grzm@myrealbox.com>
parent: Dave Wayne <davewayne@shaw.ca>
4 siblings, 1 reply; 7+ messages in thread
From: Michael Glaesemann @ 2005-11-20 23:25 UTC (permalink / raw)
To: Dave Wayne <davewayne@shaw.ca>; +Cc: pgsql-php
On Nov 21, 2005, at 7:04 , Dave Wayne 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.
What's the reason? What error message are you getting? One thing to
check is to make sure PHP was compiled with pgsql support. Provide
more details and hopefully someone will be able to provide better help.
Good luck!
Michael Glaesemann
grzm myrealbox com
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: postgres/php and windows
@ 2005-11-21 06:36 John DeSoi <desoi@pgedit.com>
parent: Dave Wayne <davewayne@shaw.ca>
4 siblings, 0 replies; 7+ messages in thread
From: John DeSoi @ 2005-11-21 06:36 UTC (permalink / raw)
To: Dave Wayne <davewayne@shaw.ca>; +Cc: pgsql-php
On Nov 20, 2005, at 5:04 PM, Dave Wayne 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.
Did you enable the pgsql dll in the php.ini file? The semicolon needs
to be removed.
;extension=php_pgsql.dll
If that does not solve it, give more specifics about the error.
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: postgres/php and windows
@ 2005-11-21 13:58 CGMoller@StateStreet.com
parent: Michael Glaesemann <grzm@myrealbox.com>
0 siblings, 0 replies; 7+ messages in thread
From: CGMoller@StateStreet.com @ 2005-11-21 13:58 UTC (permalink / raw)
To: Dave Wayne <davewayne@shaw.ca>; pgsql-php; pgsql-php-owner@postgresql.org
In addition to error messages, what is your setup? What versions of PHP,
Postgres and Web (Apache?) are you using? The configurations are different
depending upon what you have installed.
Also you should check the PHP manual:
http://us3.php.net/manual/en/function.pg-connect.php.
Cameron G. Moller
Michael
Glaesemann
<grzm@myrealbox.c To
om> Dave Wayne <davewayne@shaw.ca>
Sent by: cc
pgsql-php-owner@p pgsql-php@postgresql.org
ostgresql.org Subject
Re: [PHP] postgres/php and windows
11/20/2005 06:25
PM
On Nov 21, 2005, at 7:04 , Dave Wayne 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.
What's the reason? What error message are you getting? One thing to
check is to make sure PHP was compiled with pgsql support. Provide
more details and hopefully someone will be able to provide better help.
Good luck!
Michael Glaesemann
grzm myrealbox com
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: postgres/php and windows
@ 2005-11-21 18:39 manjusri schuit <manjusri.schuit@gmail.com>
parent: Dave Wayne <davewayne@shaw.ca>
4 siblings, 0 replies; 7+ messages in thread
From: manjusri schuit @ 2005-11-21 18:39 UTC (permalink / raw)
To: Dave Wayne <davewayne@shaw.ca>; +Cc: pgsql-php
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
>
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: postgres/php and windows
@ 2005-11-21 19:26 operationsengineer1@yahoo.com
parent: Dave Wayne <davewayne@shaw.ca>
4 siblings, 0 replies; 7+ messages in thread
From: operationsengineer1@yahoo.com @ 2005-11-21 19:26 UTC (permalink / raw)
To: Dave Wayne <davewayne@shaw.ca>; pgsql-php
--- 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
Dave, I have developed detailed instructions to
install Apache, with PHP CGI support, and Postgresql
8.0.
I will put them online and post a link later today.
OE1
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: postgres/php and windows
@ 2005-11-22 07:36 operationsengineer1@yahoo.com
parent: Dave Wayne <davewayne@shaw.ca>
4 siblings, 0 replies; 7+ messages in thread
From: operationsengineer1@yahoo.com @ 2005-11-22 07:36 UTC (permalink / raw)
To: Dave Wayne <davewayne@shaw.ca>; pgsql-php
--- 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
Dave,
Check out this link...
http://www.geocities.com/operationsengineer1/
for my attempt to create a tutorial to isntall
Apache2, PHP5 and PGSQL8 on WinXP.
the links are for pdf files and they are about a meg
each. the webhost only allows a limited amount of
transfer bandwidth, so be sure to return if the limit
is exceeded.
I would also suggest that others not check the links
unless they are actively trying this install - at
least until Dave is able to download the files.
I will get the instructions up via a web page, but it
proved to be difficult using geocities.
Do fweel free to offer suggestions and point out
errors of any kind.
Good luck,
OE1
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2005-11-22 07:36 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-20 22:04 postgres/php and windows Dave Wayne <davewayne@shaw.ca>
2005-11-20 23:25 ` Michael Glaesemann <grzm@myrealbox.com>
2005-11-21 13:58 ` CGMoller@StateStreet.com
2005-11-21 06:36 ` John DeSoi <desoi@pgedit.com>
2005-11-21 18:39 ` manjusri schuit <manjusri.schuit@gmail.com>
2005-11-21 19:26 ` operationsengineer1@yahoo.com
2005-11-22 07:36 ` operationsengineer1@yahoo.com
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