Web Hosting Talk







View Full Version : PHP and Postgresql OK. But the combination does not work together.


capecod
11-27-2002, 12:56 PM
Both PHP and Postgresql work.
But the combination of both sometimes does not together.
In particular, the DB connection fails:

Anybody could analyze this phenomenna?
I am using United Colo G.
I wonder that this is due to UCG's poor management of the network

I am serious because the customer told me this is due to my server. But, I do not have enough knowledge on Postgresql.

Any suggestion will be welcome. Thank you.

sasha
11-27-2002, 01:57 PM
PHP and Postrges work very well togather.
BUT, some time ago (PHP 4.06 I think) there was a mess in Pear/DB/pgsql.php around port number. I think it was in connect function itself. I just looked and it seems that 4.2.x is totaly rewriten there.

capecod
11-27-2002, 06:45 PM
Thanks. PHP is 4.2.2. Joe.