Doc #77203 [NEW]: mysqlnd.net_read_timeout CAN be changed via PHP_INI_PERDIR

From: Date: Mon, 26 Nov 2018 10:45:26 +0000
Subject: Doc #77203 [NEW]: mysqlnd.net_read_timeout CAN be changed via PHP_INI_PERDIR
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16172@lists.php.net to get a copy of this message
From: contact at sshilko dot com Operating system: Amazon Linux 2 PHP version: 7.2.12 Package: MySQLi related Bug Type: Documentation Problem Bug description:mysqlnd.net_read_timeout CAN be changed via PHP_INI_PERDIR Description: ------------ I can change mysqlnd.net_read_timeout http://php.net/manual/en/mysqlnd.config.php via ".user.ini" configuration per-directory file. And also via ini_set('mysqlnd.net_read_timeout', 10); I think documentation is incorrect, cause it states PHP_INI_SYSTEM (Entry can be set in php.ini or httpd.conf). There even was a ticket to allow it to be set via ini_set() https://bugs.php.net/bug.php?id=64952 so just documentation outdated Test script: --------------- <?php $oldTimeout = ini_get('mysqlnd.net_read_timeout'); $newTimeout = rand(1,99); ini_set('mysqlnd.net_read_timeout', $newTimeout); echo ($oldTimeout != $newTimeout); -- Edit bug report at https://bugs.php.net/bug.php?id=77203&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77203&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77203&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77203&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=77203&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=77203&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=77203&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=77203&r=needscript Try newer version: https://bugs.php.net/fix.php?id=77203&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=77203&r=support Expected behavior: https://bugs.php.net/fix.php?id=77203&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=77203&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=77203&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=77203&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77203&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=77203&r=dst IIS Stability: https://bugs.php.net/fix.php?id=77203&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=77203&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=77203&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=77203&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=77203&r=mysqlcfg

« previous php.doc.bugs (#16172) next »