Unable to load mcrypt extension, check your PHP configuration Ultimate Solution _php Tips
Source: Internet
Author: User
Unable to load mcrypt extension, <br/> Please check the PHP configuration
The following conditions may cause you to run the phpMyAdmin program prompt "Cannot load mcrypt extensions, <br/> 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 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
Desktop > My Computer > Right key properties > Advanced > Environment variable > System variable > New
Name: PHPRC
Value: d:\php (what is your PHP directory?)
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