Unable to load MySQL extension, does not support MySQL database, PHP cannot display Verification Code Solution

Source: Internet
Author: User
Unable to load MySQL extension, please check PHP configuration (the current system does not support MySQL database) 1. When you run the phpMyAdmin program, the following solution is displayed: "MySQL extension cannot be loaded. Check the PHP configuration:
A:
The MySQL database is not correctly installed and MySQL-related services are not started in the system service.
II. When installing the MySQL program, the system prompts "MySQL database is not supported and cannot be installed" as follows:
A:
1. libmysql is missing in the System32 (C:/Windows/system32) Directory of the system. DLL file. The solution is to find libmysql in the PHP Directory. DLL, and libmysql. DLL to C:/Windows/system32 directory
2. php. in the INI file, the previous ";" in "; Extension = php_mysql.dll" is not removed, so the corresponding function cannot be used. The solution is to open PHP. INI file found
; Extension = php_mysql.dll
Change
Extension = php_mysql.dll // remove the previous one to make it take effect.
3. The correct permissions for the MySQL installation directory are as follows:
Full administrator control
Full system control
Only the preceding two permissions are required for the MySQL installation directory, and all other user permissions are deleted.
4. Unable to display the verification code: in the PHP. ini file under the C:/Windows directory, the previous ";" in "; Extension = php_gd2.dll" is not removed, Important: Check the permissions of the php. ini file, the permissions of the PHP file copied to system32, And the permissions of the PHP installation directory folder. At least the default permissions of users are required;

The temp folder in the Windows directory of drive C must have at least the Users Group modification level permission.

We strongly recommend that you configure it in the newly installed standard 2003 system! Configure the environment installer first, and then perform system security settings after the installation is successful!
(Restart the server)
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.