phpMyAdmin Unable to load MCrypt solution

Source: Internet
Author: User
Tags ini mcrypt mysql variables mysql database phpmyadmin

Unable to load MCrypt (external chain, English) extensions, check your PHP configuration: Many friends in the run phpMyAdmin program will see that the prompt, "Can not load mcrypt (outside the chain, English) expansion, please check your PHP configuration", then encountered such a problem should be how to solve it? Let's get rid of this problem at 1.1.

Unable to load mcrypt extension, check your PHP configuration
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:\WINDOWS\SYSTEM32) 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
Found it
; 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 try all the way, still not, in fact, there is a step, online rarely said, the solution, My Computer > Right key 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.