Re: PHP-GTK and Postgresql on windows
| From: | Cristian Faure | Date: | Thu, 04 Apr 2002 02:04:54 +0000 |
| Subject: | Re: PHP-GTK and Postgresql on windows | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1723@lists.php.net to get a copy of this message | ||
Hello,
Sorry, my english is very bad.
I am using php-gtk with PostgrSQL on windows whith:
1:
You can download the extensions (dll's for windows) from
http://www.php.net/do_download.php?download_file=php-4.1.2-Win32.zip
and place the php_pgsql.dll on your php directory.
1:
Edit your php.ini and find the extensions section, and add the line:
extension=php_pgsql.dll
3:
For connect to a Postgres Database i use:
$cstr = "dbname=<your database name> host=<IP Postgres server> port=5432
user=<your username> password=<your password>";
Link_ID=pg_pconnect($cstr);
regards ;-)
----- Original Message -----
From: "Brian C. Doyle" <bcdoyle@mindspring.com>
To: <php-gtk-general@lists.php.net>
Sent: Wednesday, April 03, 2002 4:53 PM
Subject: [PHP-GTK] PHP-GTK and Postgresql on windows
> Hello all,
>
> I am once again trying to use PHP-GTK, first time was when it was first
> release, and need to get it to interface with Postgresql databases.
> Is that possible and if so what do I need to do?
>
> Thanks for the help.
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>