Обсуждение: Connection problems

Поиск
Список
Период
Сортировка

Connection problems

От
Glenn_Wiens@via-christi.org
Дата:
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.



Re: Connection problems

От
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

Re: Connection problems

От
"Muhyiddin A.M Hayat"
Дата:
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



Re: Connection problems

От
Glenn_Wiens@via-christi.org
Дата:
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.



Pie/Bar chart

От
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




Re: Pie/Bar chart

От
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