The mcrypt extension cannot be loaded. <br/> Check the PHP configuration.

Source: Internet
Author: User
The mcrypt extension cannot be loaded. & lt; br/& gt; check that the PHP configuration cannot be loaded with the mcrypt extension. & lt; br/& gt; check the PHP configuration and the following situations may cause the prompt "unable to load mcrypt extension, & lt; br/& gt; please check that PHP cannot load mcrypt extension,
Check PHP configuration

Unable to load mcrypt extension,
Check PHP configuration
In the following situations, you may run the phpmyadmin program and prompt "the mcrypt extension cannot be loaded,
Please check the PHP configuration error prompt

1. the Mysql database is not correctly installed and Mysql-related services are not started in the system service ?? (Please refer to the correct method for installing Mysql)

2. libmcrypt is missing in the system32 (C: \ windows \ system32) Directory of the system. dll file. the solution is to find libmcrypt under the php directory. dll, and libmcrypt. copy the dll to the C: \ windows \ system32 directory and restart the Web service.

3. php in the C: \ windows directory. in the INI file, the previous ";" in "; extension = php_mcrypt.dll" is not removed, so the corresponding function cannot be used. the solution is to open php. ini file
Find
; Extension = php_mcrypt.dll
Change
Extension = php_mcrypt.dll ??? // Remove the previous one to make it take effect

4. the Mysql Directory has no read permission. the correct directory permission is as follows:
Administrator ?? Full control
System ??? Full control

User ??? Read and run
All other user permissions can be deleted (or retained, but the security is not high. we recommend that you delete them), and then restart the MYsql service and Web service (we recommend that you modify this item and then restart the server)
After trying all the methods, you still can't do it. In fact, there is still another step. I rarely say on the Internet that the solution is WINXP + IIS + PHP5 + MYSQL5.

Instant noodles> My Computer> right-click Properties> Advanced> environment variables> System variables> New

Name: phprc
Value: d: \ php? (What is your PHP Directory)

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.