php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55067 MySQL doesn't support compression
Submitted: 2011-06-29 09:46 UTC Modified: 2011-09-02 13:20 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: belov1985 at gmail dot com Assigned: ahristov (profile)
Status: Closed Package: MySQLi related
PHP Version: 5.3.6 OS: FreeBSD 8.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: belov1985 at gmail dot com
New email:
PHP Version: OS:

 

 [2011-06-29 09:46 UTC] belov1985 at gmail dot com
Description:
------------
Version 	mysqlnd 5.0.8-dev - 20102224 - $Revision: 308673 $
Compression 	not supported 

PHP build info:

./configure --with-layout=GNU --localstatedir=/var --with-config-file-scan-dir=/usr/local/etc/php --disable-all --enable-libxml --with-pcre-regex=/usr/local --with-zlib-dir=/usr --program-prefix= --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-mcrypt --with-curl --with-jpeg-dir=/usr/local/lib/ --with-freetype-dir=/usr/local/include/freetype2/ --with-png-dir=/usr/local/lib/ --with-iconv-dir=/usr/local/lib --with-libxml-dir=/usr/local/include/ --with-libxml-dir=/usr/local --with-gd --with-bz2 --with-pcre-regex --with-iconv --with-ttf --with-zlib --with-sqlite3 --enable-session --enable-json --enable-gd-native-ttf --enable-inline-optimization --enable-mbstring --enable-xml --enable-dom --enable-simplexml --enable-fpm --with-fpm-user=www --with-fpm-group=www --with-regex=php --with-zend-vm=CALL --disable-ipv6 --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/



Some strange info i get, when do "./configure --help"

  --disable-mysqlnd-compression-support
Enable support for the MySQL compressed protocol in mysqlnd

:)




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-20 10:25 UTC] uw@php.net
-Assigned To: +Assigned To: ahristov
 [2011-07-20 10:25 UTC] uw@php.net
Andrey, can you have a look? You've been the last one working on the config9.m4. Seems buggy.
 [2011-09-02 13:20 UTC] andrey@php.net
-Status: Assigned +Status: Closed
 [2011-09-02 13:20 UTC] andrey@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Thanks for your report. Fix will appear in 5.3.9
 [2011-09-12 22:03 UTC] belov1985 at gmail dot com
Download php5.3-201109122030


root>./configure --help | grep mysqlnd-compression
  --disable-mysqlnd-compression-support

Seems ok...

root> ./configure --enable-mysqlnd --with-mysql=mysqlnd --with-mysqli=mysqlnd && make

"
...
checking whether to enable mysqlnd... yes
checking whether to disable compressed protocol support in mysqlnd... yes
...
"


after building:

root> sapi/cli/php -i
....
mysqlnd

mysqlnd => enabled
Version => mysqlnd 5.0.8-dev - 20102224 - $Revision: 310735 $
Compression => not supported


Not fixed :(
 [2011-09-12 22:12 UTC] belov1985 at gmail dot com
root> ./configure --enable-mysqlnd --with-mysql=mysqlnd --with-mysqli=mysqlnd --disable-mysqlnd-compression-support

"...
checking whether to enable mysqlnd... yes
checking whether to disable compressed protocol support in mysqlnd... no
..."


but result is the same:

"
mysqlnd

mysqlnd => enabled
Version => mysqlnd 5.0.8-dev - 20102224 - $Revision: 310735 $
Compression => not supported"
 [2012-04-23 15:22 UTC] jwarnier at beeznest dot net
It is my understanding that despite it being marked as fixed in 5.3.9, this feature has never been implemented yet, not even in 5.4.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC