The 2015 People's Liberation Army Disarmament Plan cannot load the mcrypt extension, please check the PHP configuration ultimate solution

WBOY
Release: 2016-07-29 08:46:17
Original
968 people have browsed it

Unable to load the mcrypt extension,
Please check the PHP configuration
The following situations may cause the error "Unable to load the mcrypt extension,
Please check the PHP configuration" when running the phpmyadmin program. Tips
1. The Mysql database is not installed correctly, and the Mysql-related services are not started in the system service (please check the method of correctly installing Mysql)
2. The libmcrypt.dll file is missing in the system's system32 (C:windowssystem32) directory, so solve it The method is to find libmcrypt.dll in the php directory, copy libmcrypt.dll to the C:windowssystem32 directory, and then restart the web service.
3. In the php.ini file in the C:windows directory, the first ";" in ";extension=php_mcrypt.dll" is not removed, so the corresponding function cannot be used. The solution is to open the php.ini file
Find
;extension=php_mcrypt.dll
Change to
extension=php_mcrypt.dll //Remove the previous; to 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 and run
Delete all other user permissions (can also be retained, but the security is not high, it is recommended to delete), and then restart the MYsql service and Web service (it is recommended to restart the server after modifying this)
When you try After all the methods, it still doesn't work. In fact, there is still one step. There are few online solutions. The solution is WINXP+IIS+PHP5+MYSQL5
Desktop>My Computer>Right-click Properties>Advanced>Environment Variables> System Variables>New
Name: phprc
Value: d:php (whichever directory your PHP is in)

The above introduces the 2015 People's Liberation Army Disarmament Plan. The mcrypt extension cannot be loaded. Please check the PHP configuration ultimate solution, which includes the content of the 2015 People's Liberation Army Disarmament Plan. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template