How can I enable the MySQLi extension in PHP 7?
I got the solution. I am able to enable MySQLi extension in php.ini. I just uncommented this line in php.ini:
extension=php_mysqli.dll
Now MySQLi is working well. Here is the php.ini
file path in an Apache 2, PHP 7, and Ubuntu 14.04 environment:
/etc/php/7.0/apache2/php.ini
By default, the MySQLi extension is disabled in PHP 7.
The mysqli extension is missing. Please check your PHP configuration , even though file is available in defined path
In your php.ini file set the extension_dir
to C:/Program Files (x86)/php/ext
then change the extension values to simply the name of the extension.
extension_dir = "C:/Program Files (x86)/php/ext"
extension=php_curl.dll
extension=php_gd2.dll
extension=php_intl.dll
extension=php_mbstring.dll
extension=php_mysqli.dll
extension=php_openssl.dll
extension=php_soap.dll
extension=php_xmlrpc.dll
Related Topics
Strict Standards: Only Variables Should Be Assigned by Reference PHP 5.4
Order by Before Group by Using Eloquent (Laravel)
Mysql_Real_Escape_String Is Undefined
Merge Two Multidimensional Arrays and Reindex All Subarrays
PHP - Add Link to a Url in a String
Getting a PHP Pdo Connection from a MySQL_Connect()
Warning: Array_Combine(): Both Parameters Should Have an Equal Number of Elements
Php: Check for Duplicate Values in a Multidimensional Array
3Rd Party Dependency Conflict in Developing Wordpress Plugin
How to Prevent from Printscreen of My Webpage
How to Paginate Lines in a Foreach Loop with PHP
PHP Curly Braces in Array Notation
PHP - Merge Two Arrays (Same-Length) into One Associative
Differencebetween PHP Require and Include