Reputation: 110
I'm trying to get mysqli_result::fetch_all() to work but I'm out of my depth and butting my head against a wall. This is all being done on remote server and I'm using PuTTY to connect. The internet is telling me to install MySQL Native Driver using the following lines of code:
php ./configure --with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd
What I'm getting back is "Could not open input file: ./configure". What do I do now?
Upvotes: 0
Views: 2797
Reputation: 27305
You can install the mysqlnd
extension over the package manager. You should look at the documentation of your specific operation system.
But on APT systems you can use:
apt-get install php5-mysqlnd
under CentOS or better Red Hat package Manager:
yum install php-mysqlnd
when you are root you don't need the sudo command. When you are logged on as a normal user you have to write sudo
before your command.
A good tutorial how to install the extension:
http://blog.ahughes.org/?p=602
Upvotes: 3