Req #60354 [Asn->Opn]: MYSQL_CLIENT_COMPRESS in php.ini

From: Date: Tue, 24 Oct 2017 08:08:55 +0000
Subject: Req #60354 [Asn->Opn]: MYSQL_CLIENT_COMPRESS in php.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212228@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60354&edit=1 ID: 60354 Updated by: kalle@php.net Reported by: spamik at yum dot pl Summary: MYSQL_CLIENT_COMPRESS in php.ini -Status: Assigned +Status: Open Type: Feature/Change Request Package: MySQLi related PHP Version: 5.3.8 -Assigned To: mysql +Assigned To: Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2014-02-25 14:22:34] uw@php.net For ext/mysql it is certainly out of question. No updates for that one. ------------------------------------------------------------------------ [2012-03-20 09:41:21] uw@php.net I do not agree on the statement developers write genuie applications. Native interfaces are there to get most out of a specific interface/library from a specific application. As there is no security concern or severe performance impact, developer shall have full control. There's no need to differ from the logic of the underlying C library to ensure somewhat consistent behaviour among the same family of interfaces/libraries of a specific vendor. ------------------------------------------------------------------------ [2012-03-06 01:39:12] johannes@php.net I'm not sure I agree. For compression the developer should know what data to expect. Encryption should be configured alongside with host/user/password which usually happens in the application. Having more places overriding each others makes it hard to figure out which settings arebeing used in the end. ------------------------------------------------------------------------ [2011-11-22 03:02:50] spamik at yum dot pl Description: ------------ Using or not using mysql compression (or encryption) is a administrative decision, not decision that should be left for programmer as he usualy has no idea what is mysql configuration, what storage does it use and quite often this programmer just writes genuine aplications. default for compression in mysql client (MYSQL_CLIENT_COMPRESS) should be settable in php.ini http://pl2.php.net/manual/en/mysql.constants.php#mysql.client-flags This would also to permanent connections but You made it into two diffrent commands so it would be more difficult. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60354&edit=1

« previous php.bugs (#212228) next »