Re: [PHP-DB] Cant connect to postgresql 7.4 on FreeBSD

2006-06-10 Thread chris smith

On 6/9/06, Arie Nugraha [EMAIL PROTECTED] wrote:

Hi list,

yesterday i compile postgresql 7.4 in my FreeBSD 5.4 box.
I manage to run the server smoothly without any problem.
But then i try to connect with my php script with pg_connect function, and
it returns an error like this :

*cant make link. to many connection open*


You have too many connections to your database.

Either increase the number of connections your database accepts or
work out where all the connections are coming from and try to cut that
down.

--
Postgresql  php tutorials
http://www.designmagick.com/

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



[PHP-DB] Cant connect to postgresql 7.4 on FreeBSD

2006-06-09 Thread Arie Nugraha

Hi list,

yesterday i compile postgresql 7.4 in my FreeBSD 5.4 box.
I manage to run the server smoothly without any problem.
But then i try to connect with my php script with pg_connect function, and
it returns an error like this :

*cant make link. to many connection open*

i already install the pgsql.so extension and its already loaded to php
without any problem (i saw it with phpinfo()).

I also have enable tcp/ip connection in postgresql.conf

whats wrong with my postgresql??