phpMyAdmin error: Missing mcrypt extension, please check PHP configuration and phpMyAdmin cannot load

Source: Internet
Author: User
Tags mcrypt mysql database phpmyadmin

The following conditions may cause you to run the phpMyAdmin program prompt "Unable to load MCrypt extensions, check the PHP configuration" error prompt
1, does not install the MySQL database correctly, in the system service MySQL related service does not start (please check correctly installs the MySQL method)
2, in the system system32 (C:WINDOWSSYSTEM32) directory is missing libmcrypt.dll files, the solution is to find the PHP directory Libmcrypt.dll, and libmcrypt.dll copy to C:windows System32 directory, and then restart the Web service.
3, in the C:windows directory in the php.ini file, there is no "; Extension=php_mcrypt.dll" in the front of a ";" Remove, so you cannot use the corresponding function, the solution is to open the php.ini file
Find
; Extension=php_mcrypt.dll
Change into
Extension=php_mcrypt.dll//Remove the front; make it effective
4, the MySQL directory does not read permissions, the correct directory permissions are as follows:
Administrator Full Control
System Full Control
User Read plus Run
All other user rights are deleted (also reserved, but not safe, recommended for deletion), and then restart the MySQL service and Web service (recommended to restart the server after this item is modified)
When you have tried all the methods still not, in fact, there is a step, the internet is rarely said, the solution, my is WINXP+IIS+PHP5+MYSQL5
Zhao Face > My Computer > Right key properties > Advanced > Environment variable > System variable > 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.