Re: [PHP] Is this even possible?

2005-01-24 Thread Jason Barnett
Tony Di Croce wrote:
Is it even possible to connect to a postgres server (thats running on
linux) from a windows CLI php script?
I'm seeing a pg_connect() error... FATAL: no pg_hba.conf  entry for
host 192.168.1.100
Any ideas?
The easiest way to get PG up and running on a Windows system is cygwin. 
 Or at least that's my opinion... YMMV

--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-generalw=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY | 
http://mycroft.mozdev.org/download.html?name=PHPsubmitform=Find+search+plugins

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Is this even possible?

2005-01-24 Thread Greg Donald
On Mon, 24 Jan 2005 10:28:09 -0500, Jason Barnett
[EMAIL PROTECTED] wrote:
 Tony Di Croce wrote:
  Is it even possible to connect to a postgres server (thats running on
  linux) from a windows CLI php script?

Yup.

  I'm seeing a pg_connect() error... FATAL: no pg_hba.conf  entry for
  host 192.168.1.100

So edit your pg_hba.conf and add an entry.

 The easiest way to get PG up and running on a Windows system is cygwin.
   Or at least that's my opinion... YMMV

The 8.0 beta installed for me just fine with no cygwin.


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is this even possible?

2005-01-23 Thread Mikey


-Original Message-
From: Tony Di Croce [mailto:[EMAIL PROTECTED] 
Sent: 22 January 2005 23:21
To: php-general@lists.php.net
Subject: [PHP] Is this even possible?

Is it even possible to connect to a postgres server (thats running on
linux) from a windows CLI php script?

I'm seeing a pg_connect() error... FATAL: no pg_hba.conf  entry for
host 192.168.1.100

Any ideas?

You will need to install the client libraries, as you would for any database
- you will need to go to the Postgres web-site for details of how to do
that.

HTH,

Mikey

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Is this even possible?

2005-01-22 Thread Tony Di Croce
Is it even possible to connect to a postgres server (thats running on
linux) from a windows CLI php script?

I'm seeing a pg_connect() error... FATAL: no pg_hba.conf  entry for
host 192.168.1.100

Any ideas?

-- 

td

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Is this even possible?

2005-01-22 Thread Jason Wong
On Sunday 23 January 2005 07:20, Tony Di Croce wrote:
 Is it even possible to connect to a postgres server (thats running on
 linux) from a windows CLI php script?

Yes.

 I'm seeing a pg_connect() error... FATAL: no pg_hba.conf  entry for
 host 192.168.1.100

Exactly. So put the appropriate entry in pg_hba.conf.

 Any ideas?

Hop over to the postgresql site and consult the manual.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
New Year Resolution: Ignore top posted posts

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php