I'm trying to install mysqlnd_ms on my new server (Debian 6.0 i386).
To do so, I've tried as follow :
- I install
php5-5.4.0-3
andphp5-mysqlnd
by testing repo. - After read this link:1, I try to install
mysqlnd_ms
by pecl so I installphp5-dev
andphp5-pear
After that I try pecl install mysqlnd_ms
and I have this :
downloading mysqlnd_ms-1.2.2.tgz ...
Starting to download mysqlnd_ms-1.2.2.tgz (337,534 bytes)
.............................done: 337,534 bytes
ERROR: bad md5sum for file /tmp/pear/temp/mysqlnd_ms/package.xml
It's the same issue as this bug repport link:2.
So I've decided to do the job by myself and follow the same process than pecl (download, compile, install) link:3 :
pecl download mysqlnd_ms
- After untar the source,
phpize
./configure
make test
and I have an error because of missingext/mysqlnd/*
- I get those files from php-src from link:4
make test
again and new issue :error: ./php_mysqlnd_config.h: No such file or directory
I found link:5 and link:6 on the intraweb . So I try
./configure --enable-mysqlnd
. After get this :configure: WARNING: unrecognized options: --enable-mysqlnd
I try
./configure -h
:Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-mysqlnd-ms Enable mysqlnd_ms support --enable-mysqlnd-ms-table-filter Enable support for table filter in mysqlnd_ms (EXPERIMENTAL - do not use!) --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds)
There is no such parameter to configure the build.I'm stuck right now.
Is there a way to install mysqlnd_ms
on Debian with PHP5-5.4.0-3
? or with a previous version of PHP ? In case of previous version of PHP, how can I get this version and all linked composants ?
Thank you for your help.
All links here (due to serverfault spam prevention limitation) : gist