I am using Hostinger free hosting and they don't provide PHP settings page to configure the php.ini
.
Recently I came up with an error
Uncaught Error: Call to undefined method mysqli_stmt::get_result()
I did a little bit of research on why this error and it turns out that may be mysqli
is diabled but thats not the case for me. I'm using PHP 7.
Also I have checked the mysqlnd
is enabled in my phpinfo
page. But the Api Extension
is set to no value
which seems to be causing the problem.
I want to implement this configuration
./configure --with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd
So called up the Hostinger customer service and it turns out they are not really understanding my point.
I want to use both mysqli, pdo & mysql. May I please know if there is any way to change the MySQLnd API EXTENSION using .htaccess.
TIA