PhpMyAdmin-mysql extension cannot be loaded due to an error. Please check the PHP configuration-document. phpMyAdmin cannot load mysql extension, PHP blog, PHP extension, PHP technical blog, PHP configuration, and mysql extension.
The PHP blog has not been updated for a long time. Recently, I have been busy writing the hardware standards of the company's products. The first time I wrote the standards, I really don't know where to start, looking at 3C related materials and enterprise-standard materials, I am optimistic about more than 20 files. I accidentally unmounted the USB drive of my computer the day before yesterday, so that I can't use the mouse or keyboard, there is no backup driver and no one-click Recovery. you can't just reinstall the system. The system was successfully installed, but when I installed the PHP environment and phpmyadmin, I opened http in the browser: // localhost/phpmyadmin, but the system prompts phpMyAdmin-the error cannot be loaded into the mysql extension,
Check the PHP configuration-documentation.
When we see this prompt, we first think that the extension path is incorrect. we will check the PHP configuration file php. ini.
Open PHP under the php installation directory. in the ini file, Ctrl + F search for "php_mysql.dll" and delete ";" before "; extension = php_mysql.dll" to cancel comments, search for and modify the value of "extension_dir" to the folder where the "php_mysql.dll" file is located. That is:
Extension_dir = "D: \ server \ php \ ext" (I am using the PHP environment configured by myself. the specific path depends on the environment I have installed)
Extension = php_mysql.dll
But after my careful check, I found that there is no problem with the extension path. pay attention to configuring php. after ini, you must restart apache. later I thought it might be Libmysql. the dll file has not been copied to the c: \ windows \ system32 directory. I copied the dll file and found that I have also copied the dll file. Since the error was not caused by these two reasons, I thought about whether it was caused by other reasons. later I thought about config. inc. I checked if php is not configured or the configuration is incorrect. Later, I went online and checked a lot of information without any solution. I had to find out for myself. Finally, I copied php5ts. dll to c: \ windows \ system32. Hey, well, I finally succeeded. I have been confused about how to solve the problem for a long time.
Most of the methods on the Internet are plagiarism, which cannot solve the actual problem. many of the articles published by the PHP blog are based on the experiences of the bloggers and hope to help friends.