Home  >  Article  >  Backend Development  >  phpMyAdmin cannot load the mcrypt extension, please check the PHP configuration solution_PHP tutorial

phpMyAdmin cannot load the mcrypt extension, please check the PHP configuration solution_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:19:46949browse

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 is missing in the system's system32 (C:windowssystem32) directory. file, 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 2003+IIS+PHP5+MYSQL5

Desktop>My Computer>Right-click Properties>Advanced>Environment Variables>System Variables>New

Name: phprc
Value: c:php (whichever directory your PHP is in)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/325203.htmlTechArticle1. The Mysql database is not installed correctly, and the Mysql-related services are not started in the system services (please check the correct installation of Mysql method) 2. In the system’s system32 (C:windowssystem32)...
Statement:
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