Home >Backend Development >PHP Tutorial >Unable to load mysql extension, please check PHP configuration_PHP tutorial

Unable to load mysql extension, please check PHP configuration_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 10:56:53928browse

When I installed a new server today, I configured phpMyAdmin in the server, but when I opened it, phpmyadmin got an error. The mysql extension could not be loaded. Please check the PHP configuration. Let me introduce the solution to you.

Unable to load mysql extension,
Please check PHP configuration - Documentation

The solution is very simple. Find the following code in your php.ini

D:xxxphpext is your php installation directory. Restart apache
The code is as follows
 代码如下 复制代码

extension_dir = "D:/xxx/php/ext"

Copy code

extension_dir = "D:/xxx/php/ext"

Some friends said that just remove libmysql.dll in php.ini, but I failed to dig deeper.

http://www.bkjia.com/PHPjc/632117.htmlwww.bkjia.comtrue
http: //www.bkjia.com/PHPjc/632117.html
TechArticle
When I installed a new server today, I configured phpMyAdmin in the server, but when I opened it, phpmyadmin got an error and could not load the mysql extension. Please check the PHP configuration, let me introduce the solution to you...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn