Reply to pg_connect(): Cannot create new link. Too many open links (0)

Your name:

Reply:


Posted by John Oliver on 04/25/06 02:11

Fedora Core 2, httpd-2.0.54-10.2, php-4.3.10-2.4,
postgresql-7.4.7-3.FC2.1

Using a test.php that includes:

<?php
pg_connect("host=localhost dbname=db_name user=user password=password$");
phpinfo();
?>

I get PHP Warning: pg_connect(): Cannot create new link. Too many open
links (0) in /home/www/mywebsite.com/html/index.php on line 2

I did have a line extension=pgsql.so in /etc/php.ini but have removed
it. I do have /etc/php.d/pgsql.ini that contains the same line. That's
the solution that all responses I've found have suggested. What else
can I try?

--
* John Oliver http://www.john-oliver.net/ *
* Reform California gun laws - http://www.reformcagunlaws.com/ *
* http://www.gunownersca.com - http://www.crpa.org/ *
* San Diego shooters come to http://shooting.forsandiego.com/ *

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация