Date: 11/11/00
- Next message: Pankaj Gupta: "[PHP-DEV] PHP Discussion Forum/ Message board www.waytobiz.com"
- Previous message: Ron Chmara: "Re: [PHP-DEV] Fwd: [PHP] upload_max_size vs. post_max_size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 7757
Updated by: ronabop
Reported By: mjrider <email protected>
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
How are you testing that it is unused within the same PHP script? If you look at the manual pages on persistant connections, you will discover that a persistant database connection is not related to:
Subsequent page loads by the same user
Subsequent page loads by a different user
See:
http://www.php.net/manual/features.persistent-connections.php
It does not allow a user to re-use the same connection, or
for PHP to always use the same connection.
In short, this feature only has value when using many database connections within the same PHP page, or when your
PHP connections are all making different connections to the database, in a manner unrelated to the data or user, and need an additional speed boost.
If you find that they are not using the same connection within one html page, or your mysql connections are not being held open for another reason, please re-open this bug and add a sample script, or explain your methodology.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-11 06:59:11] mjrider <email protected>
The bug only apears to affect mysql_pconnect() when i
supply a host, user and pass combo
---------------------------------------------------------------------------
[2000-11-11 06:40:41] mjrider <email protected>
./configure' '--with-apxs=/usr/sbin/apxs' '--with-config-file-path=/etc/php' '--with-xml' '--with-mysql=/usr/local' '--with-zlib' '--enable-track-vars' '--enable-inline-optimization' '--with-gd' '--with-jpeg-dir=/usr/lib'
phpinfo() can be called from:
http://murphy.ict.hen.nl/phpinfo.php
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7757
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Pankaj Gupta: "[PHP-DEV] PHP Discussion Forum/ Message board www.waytobiz.com"
- Previous message: Ron Chmara: "Re: [PHP-DEV] Fwd: [PHP] upload_max_size vs. post_max_size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

