musclehead Posted May 8, 2009 Share Posted May 8, 2009 I'm trying to connect to a remote Postgresql DB w/ the following: RHEL 4 PHP 4.3.9 PostgreSQL(libpq) Version 7.4.19 When I attempt to do a simple pg_connect to the remote host, I'm getting the following in my error_log: PHP Warning: pg_connect(): Cannot create new link. Too many open links (0) I can connect to the database via CLI remotely using pgsql, so the connection to the database is fine and I can view data, etc. I'm new to the Postgresql world, so any advice would be of great assistance! Quote Link to comment https://forums.phpfreaks.com/topic/157358-solved-pg_connect-cannot-create-new-link-too-many-open-links-0/ Share on other sites More sharing options...
musclehead Posted May 8, 2009 Author Share Posted May 8, 2009 Nevermind...stupid mistake... Quote Link to comment https://forums.phpfreaks.com/topic/157358-solved-pg_connect-cannot-create-new-link-too-many-open-links-0/#findComment-829429 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.