Unable to load mcrypt extension, please check PHP Configuration Ultimate Solution _php Tutorial

Source: Internet
Author: User
Tags mcrypt
Unable to load MCrypt extension,
Please check the PHP configuration
The following scenarios may cause the run phpMyAdmin program prompt to "fail to load the mcrypt extension,
Please check the PHP configuration "error message

1, the MySQL database is not installed correctly, in the system service MySQL related services did not start (please check the correct way to install MySQL)

2, in the system system32 (C:\WINDOWS\SYSTEM32) directory is missing Libmcrypt.dll file, the solution is to find the PHP directory Libmcrypt.dll, and copy Libmcrypt.dll to c \ Windows\System32 directory, and then restart the Web service.

3, in the C:\windows directory of the php.ini file, there is no "; Extension=php_mcrypt.dll" in the previous ";" removed, so the function cannot be used, the workaround is to open the php.ini file
Found it
; Extension=php_mcrypt.dll
Change into
Extension=php_mcrypt.dll//Remove the front; make it effective

4, the MySQL directory does not have read permissions, the correct directory permissions are as follows:
Administrator Full Control
System Full Control

User Read plus Run
All other user rights are removed (also retained, but not high security, recommended to delete), and then restart the MySQL service and Web service (recommended to modify this key after restarting the server)
When you have tried all the methods after still not, actually there is a step, online very few say, solution, my is WINXP+IIS+PHP5+MYSQL5

Desktop > My Computer > Right-click Properties > Advanced > Environment Variables > System Variables > New

Name: PHPRC
Value: d:\php (what directory is your PHP in?)

http://www.bkjia.com/PHPjc/323953.html www.bkjia.com true http://www.bkjia.com/PHPjc/323953.html techarticle Unable to load mcrypt extension, br/Please check PHP configuration may cause the following conditions to run phpMyAdmin program prompt "Unable to load mcrypt extension, br/check PHP configuration" ...

  • 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.