Connection problems
am 06.04.2004 14:52:25 von Glenn_Wiens
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
Re: Connection problems
am 06.04.2004 16:15:23 von Robby Russell
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
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
Re: Connection problems
am 06.04.2004 20:31:12 von middink
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:
To:
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
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
Re: Connection problems
am 07.04.2004 14:47:17 von Glenn_Wiens
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.
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
Pie/Bar chart
am 07.04.2004 16:20:25 von sundaravel
hi every body,
How to gengerate pie/bar chart in PHP, If any tools was added into my
system.. guide me..
Thanks,
S Sunder
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html
Re: Pie/Bar chart
am 08.04.2004 02:29:51 von Steve Crawford
On Wednesday 07 April 2004 7:20 am, sundaravel wrote:
> hi every body,
>
> How to gengerate pie/bar chart in PHP, If any tools was added into
> my system.. guide me..
Look at jpgraph (http://www.aditus.nu/jpgraph/). Only free for
non-commercial use but even the paid version is pretty cheap and it
does far more than just pie and bar.
Cheers,
Steve
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly