install mysqlnd module - php 5.4

roeybl

Verified User
Joined
Feb 4, 2013
Messages
15
hi,

I have Centos 6 64bit
with latest DA installed - php 5.4 CGI mysql 5.6 apache 2.2
I get this error
Fatal error: Call to undefined method mysqli_result::fetch_all()
so i want to add mysqlnd support.

my php5 configuration file is
#!/bin/sh
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--with-pdo-mysql=/usr \
--with-pcre-regex=/usr/local \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xsl \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-iconv=/usr/local \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-ftp \
--enable-gd-native-ttf \
--enable-magic-quotes \
--enable-safe-mode \
--enable-soap \
--enable-sockets \
--enable-mbstring \
--enable-zip

but i still cant see mysqlnd in my modules

[root@server custombuild]# php -m | grep mysql
mysql
mysqli
pdo_mysql

what am i doing wrong ?
 
You cannot edit that file. You must copy the file and full structure to the custom folder first.
 
i didn't understand.

I think when i recompile php it don't take those configuration in that file
I checked it i edit the file with wrong parameters and it didn't stop the completion
 
ok now its good
but still i get error

Fatal error: Call to undefined method mysqli_result::fetch_all()

[root@server custombuild]# php -m | grep mysql
mysql
mysqli
mysqlnd
pdo_mysql
 
Back
Top