pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Connection problems
4+ messages / 3 participants
[nested] [flat]

* Connection problems
@ 2004-04-06 12:52 Glenn_Wiens@via-christi.org
  2004-04-06 14:15 ` Re: Connection problems Robby Russell <rrussell@commandprompt.com>
  2004-04-06 18:31 ` Re: Connection problems Muhyiddin A.M Hayat <middink@indo.net.id>
  0 siblings, 2 replies; 4+ messages in thread

From: Glenn_Wiens@via-christi.org @ 2004-04-06 12:52 UTC (permalink / raw)
  To: pgsql-php

1. I am running a PostgreSQL server on a linux machine.
2. I am developing PHP on my windows workstation.
3. I am able to make connections from my win workstation to my PG database
via JDBC.
4. When I try to make a PHP connection, it complains that the php_pgsql.dll
is missing.

What do I need to install on my workstation to get this to work?

Thanks.

Glenn Wiens
Senior Database Administrator
Via Christi Health System
Information Technology
voice: 316.261.8447
fax: 316.660.0025


This message may contain information that is confidential and/or legally
privileged. It is intended only for the use of the individual(s) and entity
named as recipients in the message. If you are not an intended recipient of
this message, please notify the sender immediately and delete the material
from any computer; do not deliver, distribute or copy this message, and do
not disclose its contents or take any action in reliance on the information
it contains. Views expressed in this e-mail are those of the individual
sender and may not necessarily reflect the views of Via Christi Regional
Medical Center. Thank you.





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Connection problems
  2004-04-06 12:52 Connection problems Glenn_Wiens@via-christi.org
@ 2004-04-06 14:15 ` Robby Russell <rrussell@commandprompt.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Robby Russell @ 2004-04-06 14:15 UTC (permalink / raw)
  To: Glenn_Wiens@via-christi.org; pgsql-php

Glenn_Wiens@via-christi.org typed this on 04/06/2004 05:52 AM:
> 1. I am running a PostgreSQL server on a linux machine.
> 2. I am developing PHP on my windows workstation.
> 3. I am able to make connections from my win workstation to my PG database
> via JDBC.
> 4. When I try to make a PHP connection, it complains that the php_pgsql.dll
> is missing.
> 
> What do I need to install on my workstation to get this to work?

PHP needs to be installed with postgresql support on your workstation. I 
haven't done this in windows before, so I am not sure how you can 
customize the installation.

-Robby

-- 
Robby Russell,  |  Sr. Administrator / Lead Programmer
Command Prompt, Inc.   |  http://www.commandprompt.com
rrussell@commandprompt.com | Telephone: (503) 667.4564



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Connection problems
  2004-04-06 12:52 Connection problems Glenn_Wiens@via-christi.org
@ 2004-04-06 18:31 ` Muhyiddin A.M Hayat <middink@indo.net.id>
  1 sibling, 0 replies; 4+ messages in thread

From: Muhyiddin A.M Hayat @ 2004-04-06 18:31 UTC (permalink / raw)
  To: pgsql-php; Glenn_Wiens@via-christi.org

If you install your php from .zip.The php_pgsql.dll file is pleaced in
PHP\extensions.
Just open your php.ini in c:\windows or c:\winnt. then edit:

; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:/PHP/extensions"

In Dynamic Extensions selections uncomment : extension=php_pgsql.dll


----- Original Message -----
From: <Glenn_Wiens@via-christi.org>
To: <pgsql-php@postgresql.org>
Sent: Tuesday, April 06, 2004 8:52 PM
Subject: [PHP] Connection problems


> 1. I am running a PostgreSQL server on a linux machine.
> 2. I am developing PHP on my windows workstation.
> 3. I am able to make connections from my win workstation to my PG database
> via JDBC.
> 4. When I try to make a PHP connection, it complains that the
php_pgsql.dll
> is missing.
>
> What do I need to install on my workstation to get this to work?
>
> Thanks.
>
> Glenn Wiens
> Senior Database Administrator
> Via Christi Health System
> Information Technology
> voice: 316.261.8447
> fax: 316.660.0025
>
>
> This message may contain information that is confidential and/or legally
> privileged. It is intended only for the use of the individual(s) and
entity
> named as recipients in the message. If you are not an intended recipient
of
> this message, please notify the sender immediately and delete the material
> from any computer; do not deliver, distribute or copy this message, and do
> not disclose its contents or take any action in reliance on the
information
> it contains. Views expressed in this e-mail are those of the individual
> sender and may not necessarily reflect the views of Via Christi Regional
> Medical Center. Thank you.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Connection problems
@ 2004-04-07 12:47 Glenn_Wiens@via-christi.org
  0 siblings, 0 replies; 4+ messages in thread

From: Glenn_Wiens@via-christi.org @ 2004-04-07 12:47 UTC (permalink / raw)
  To: pgsql-php

The problem was an incorrect path to the extensions in php.ini. I fixed and
it worked. Thanks to all who responded.

Glenn Wiens
Senior Database Administrator
Via Christi Health System
Information Technology
voice: 316.261.8447
fax: 316.660.0025


This message may contain information that is confidential and/or legally
privileged. It is intended only for the use of the individual(s) and entity
named as recipients in the message. If you are not an intended recipient of
this message, please notify the sender immediately and delete the material
from any computer; do not deliver, distribute or copy this message, and do
not disclose its contents or take any action in reliance on the information
it contains. Views expressed in this e-mail are those of the individual
sender and may not necessarily reflect the views of Via Christi Regional
Medical Center. Thank you.





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2004-04-07 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-06 12:52 Connection problems Glenn_Wiens@via-christi.org
2004-04-06 14:15 ` Robby Russell <rrussell@commandprompt.com>
2004-04-06 18:31 ` Muhyiddin A.M Hayat <middink@indo.net.id>
2004-04-07 12:47 Re: Connection problems Glenn_Wiens@via-christi.org

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