ID: 10113 Updated by: lobbin Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: PHP options/info functions Operating System: Linux PHP Version: 4.0.4pl1 New Comment:
No feedback. Closing. Previous Comments: ------------------------------------------------------------------------ [2001-12-12 03:19:14] [EMAIL PROTECTED] Could you check if this problem exists in 4.1.0? ------------------------------------------------------------------------ [2001-04-02 09:12:53] [EMAIL PROTECTED] To prevent the use of persistent connections I've put the following lines in my php.ini: mysql.allow_persistent = Off ; pgsql.allow_persistent = Off ; When I look at the output of phpinfo() I can see that PHP reads my settings, because it reports persistent links to be off. Nevertheless, PHP still allows persistent connections, so every now and then I run out of available database backends because too many of them are idling. I solved this problem by patching the source code (modified ext/pgsql/pgsql.c line 462 and ext/mysql/php_mysql.c line 597, changed "1" into "0"), but I do not consider this as a 'clean' solution, since I have to patch the source every time I update PHP. You can view phpinfo()'s output at: http://www.schapendonk.org/config Thanks for your time to look into this problem. Regards, Martin Schapendonk ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=10113&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]