From:             mail at mark-plomer dot de
Operating system: 
PHP version:      5.4.15
Package:          MySQL related
Bug Type:         Feature/Change Request
Bug description:Allow mysqlnd.net_read_timeout to be set via ini_set()

Description:
------------
For different use-cases we need different timeouts, and it is sometimes not
possible (or at least difficult) to achieve this via "-d
mysqlnd.net_read_timeout=...".

IMHO it should be no security-problem to change mode from PHP_INI_SYSTEM to
PHP_INI_ALL for mysqlnd.net_read_timeout, or am I wrong?



Test script:
---------------
ini_set('mysqlnd.net_read_timeout', 10);
echo ini_get('mysqlnd.net_read_timeout');


Expected result:
----------------
10

Actual result:
--------------
31536000

-- 
Edit bug report at https://bugs.php.net/bug.php?id=64952&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64952&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64952&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=64952&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64952&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64952&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64952&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64952&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64952&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64952&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64952&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=64952&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=64952&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64952&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64952&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64952&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64952&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64952&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64952&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64952&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64952&r=mysqlcfg

Reply via email to