Unable to load MySQL extension. Please check PHP configuration ...... Solution

Source: Internet
Author: User

PS: this is the problem that occurs when I Configure the server today, but I have done everything in the same way .. It's still useless. It's very depressing .. Ah... I don't know why .. All possible causes have been found .. Depressing '~

Apache2 + MySQL + PhP5 + phpMyAdmin configuration problem: unable to add MySQL extension, please check PHP configuration...

After apache2 + MySQL + PhP5 is installed, after phpMyAdmin is installed and configured, enter http: // localhost/PHPmyAdmin/in the browser address box to display the following prompt information:

-----------------------------------------------

Unable to load MySQL extension,
Check PHP configuration
Document

----------------------------------------------

Solution: modify "C:/Windows/PHP. ini" to search for php_mysql.dll and remove the annotator ";"

Then copy "PHP installation directory/libmysql. dll" and "PHP installation directory/EXT/php_mysql.dll" to "C:/Windows/system32/" and restart Apache.

In addition, when you open phpMyAdmin again, you may prompt:

----------------------------------------------

No extension settings for PHP are found, but the current system seems to be using the wide character set. PhpMyAdmin without mbstring Extensions cannot correctly identify strings and may produce unexpected results.
----------------------------------------------

Solution: modify "C:/Windows/PHP. ini" to find extension = php_mbstring.dll and remove the preceding ";" comment, save.
Copy "PHP installation directory/EXT/php_mbstring.dll" to "C:/Windows/system32" and restart Apache.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.