[php-maint] Bug#576412: Bug#576412: Please add MySQL native driver "mysqlnd" support for PHP 5.3.x

Ondřej Surý ondrej at debian.org
Tue Apr 26 07:25:31 UTC 2011


tag 576412 +wontfix
thank you

On Mon, Apr 25, 2011 at 13:18, Mr. Anderson <anderson at phpbbguru.net> wrote:
>> Another option would be to package php5-mysql and php5-mysqlnd as
>
> separate conflicting packages, so users can chose.
>
> Best one! Simple and effective. Do you implement this idea already?
>
> Cuz I'm extremely need in mysqlnd (release date 2009/06/30) for my projects,
> but even D6.0.1 (release date 2011/03/19) can't help me with it. And this is
> just dumbest artificial limit!

Wow, you just won a "Offend your maintainer" award of the week. So
from now unless some other maintainer picks this bug you're on your
own.

As a courtesy to other people interested in using mysqlnd, here's the
howto build it on your own. But be aware, this is as much support as
you get, bugs in mysqlnd should be reported straight to PHP and if the
howto below will not work, you're on your own.

apt-get install php5-dev
cd /tmp
apt-get source php5
cd  /tmp/php5-5.3.6/ext/mysqlnd
mv config9.m4 config.m4
sed -ie "s{ext/mysqlnd/php_mysqlnd_config.h{config.h{" mysqlnd_portability.h
phpize
./configure
cd /tmp/php5-5.3.6/ext/mysql
phpize
./configure --with-mysql=mysqlnd
make && make install
cd /tmp/php5-5.3.6/ext/mysqli
phpize
./configure --with-mysqli=mysqlnd
make && make install

O.
-- 
Ondřej Surý <ondrej at sury.org>
http://blog.rfc1925.org/





More information about the pkg-php-maint mailing list