From: | Dirk Becker <becker(at)adocom(dot)de> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: cant conect to dynamic host-URL |
Date: | 2006-11-02 11:41:16 |
Message-ID: | 4549D95C.90007@adocom.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
The Server i want to contact only runs the Database, no other services
and on my Client i had compiled the same postgres version.
I also use an Java-Applet which runs in Browser and with that Applet i
can connect via jdbc3 (8.1-407) with the dynamic-Address.
So I think it must be a problem with the php libs, i will upgrade soon
my php-version to php5 for testing ...
Thanks for all your reply's until now :)
Andy Shellam (Mailing Lists) wrote:
> > Could it be that pg_connect cant connect through real URLs ?
>
> The only difference with a dynamic URL is that the DNS expiry
> (time-to-cache) is much lower (usually 5 minutes as opposed to a
> day.) DNS clients don't see it any differently.
> I would try a newer PHP version (latest in the 4 series is 4.4.4).
>
> I must admit I've never had a problem with pg_connect not seeing a
> domain the server itself can.
>
> Is the PostgreSQL server on the same box as PHP? Have you tried
> connecting through domain sockets instead?
>
> Andy.
From | Date | Subject | |
---|---|---|---|
Next Message | Alan Hodgson | 2006-11-06 19:05:28 | Re: PostgreSQL locking from PHP scripts |
Previous Message | Andy Shellam (Mailing Lists) | 2006-11-02 09:47:27 | Re: cant conect to dynamic host-URL |