Home > Backend Development > PHP Tutorial > Unable to load mcrypt extension, please check PHP configuration ultimate solution_PHP tutorial

Unable to load mcrypt extension, please check PHP configuration ultimate solution_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-21 15:26:29
Original
792 people have browsed it

The mcrypt extension cannot be loaded,
Please check the PHP configuration
The following situations may cause the phpmyadmin program to prompt "The mcrypt extension cannot be loaded,
Please check the PHP configuration." Error message

1. The Mysql database is not installed correctly, and the Mysql-related services in the system service are not started (please check the method of correctly installing Mysql)

2. In the system's system32 (C :windowssystem32) The libmcrypt.dll file is missing in the directory. The solution 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 php.ini file
Find
; extension=php_mcrypt.dll
and change it to
extension=php_mcrypt.dll //Remove the previous; to make it effective

4. There is no Mysql directory Read permissions, the correct directory permissions are as follows:
administrator full control
system full control

user read and run
All other user permissions are deleted (can also be retained, but security Not high, it is recommended to delete it), and then restart the MYsql service and Web service (it is recommended to restart the server after modifying this)
When you have tried all the methods and it still doesn’t work, there is actually one more step. There are few online solutions. , mine 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)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/323953.htmlTechArticleUnable to load the mcrypt extension, br /Please check the PHP configuration. The following situations may cause the phpmyadmin program to be run. Prompt "Unable to load mcrypt extension, br /Please check PHP configuration"...
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