Date: 07/12/01
- Next message: Damien Seguy: "Re: [PHP-DOC] cvs: phpdoc /en language-snippets.ent /en/features safe-mode.xml"
- Previous message: php <email protected>: "[PHP-DOC] Bug #12093: persistent db conns"
- In reply to: php <email protected>: "[PHP-DOC] Bug #12093: persistent db conns"
- Next in thread: php <email protected>: "[PHP-DOC] Bug #12093 Updated: persistent db conns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 12093
Updated by: derick
Reported By: php <email protected>
Old Status: Open
Status: Closed
Bug Type: Documentation problem
Operating System: n/a
PHP Version: 4.0.6
New Comment:
>From Chapter 22: Persistent connections: (4th alinea on http://www.php.net/manual/en/features.persistent-connections.php):
The first method is to use PHP as a CGI "wrapper". When run this way, an instance of the PHP interpreter is created and destroyed for every page request (for a PHP page) to your web server. Because it is destroyed after every request, any resources that it acquires (such as a link to an SQL database server) are closed when it is destroyed. In this case, you do not gain anything from trying to use persistent connections -- they simply don't persist.
Previous Comments:
------------------------------------------------------------------------
[2001-07-12 06:20:07] php <email protected>
The documentation does not reflect the fact that running PHP through a CGI interface will force persistent db connections to close on script end.
Example, mssql_pconnect
------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=12093&edit=1
- Next message: Damien Seguy: "Re: [PHP-DOC] cvs: phpdoc /en language-snippets.ent /en/features safe-mode.xml"
- Previous message: php <email protected>: "[PHP-DOC] Bug #12093: persistent db conns"
- In reply to: php <email protected>: "[PHP-DOC] Bug #12093: persistent db conns"
- Next in thread: php <email protected>: "[PHP-DOC] Bug #12093 Updated: persistent db conns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

