Req #64952 [Opn->Csd]: Allow mysqlnd.net_read_timeout to be set via ini_set()

From: Date: Mon, 17 Oct 2016 16:44:36 +0000
Subject: Req #64952 [Opn->Csd]: Allow mysqlnd.net_read_timeout to be set via ini_set()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204875@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64952&edit=1 ID: 64952 Updated by: andrey@php.net Reported by: mail at mark-plomer dot de Summary: Allow mysqlnd.net_read_timeout to be set via ini_set() -Status: Open +Status: Closed Type: Feature/Change Request Package: MySQL related PHP Version: 5.4.15 -Assigned To: +Assigned To: andrey Block user comment: N Private report: N New Comment: Fixed in 5.6.28 / 7.0.13 Previous Comments: ------------------------------------------------------------------------ [2013-05-31 07:35:28] mail at mark-plomer dot de 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 this bug report at https://bugs.php.net/bug.php?id=64952&edit=1

« previous php.bugs (#204875) next »