note 95342 added to function.mysql-pconnect
| From: | Tom at osu1 dot php dot net | Date: | Mon, 28 Dec 2009 13:43:46 +0000 |
| Subject: | note 95342 added to function.mysql-pconnect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-164389@lists.php.net to get a copy of this message | ||
Persistent connections work well for CGI PHP managed by fastCGI, contrary to the suggestion above
that they only work for the module version. That's because fastCGI keeps PHP processes running
between requests. Persistent connections in this mode are easily made immune to connection limits
too, because you can set PHP_FCGI_CHILDREN << mysql's max_connections <<<
Apache's MaxClients. This also saves resources.
----
Server IP: 69.147.83.197
Probable Submitter: 41.145.44.20
----
Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php
Edit -- https://master.php.net/note/edit/95342
Del: integrated -- https://master.php.net/note/delete/95342/integrated
Del: useless -- https://master.php.net/note/delete/95342/useless
Del: bad code -- https://master.php.net/note/delete/95342/bad+code
Del: spam -- https://master.php.net/note/delete/95342/spam
Del: non-english -- https://master.php.net/note/delete/95342/non-english
Del: in docs -- https://master.php.net/note/delete/95342/in+docs
Del: other reasons-- https://master.php.net/note/delete/95342
Reject -- https://master.php.net/note/reject/95342
Search -- https://master.php.net/manage/user-notes.php