When phpmyadmin is enabled, the system prompts that the mcrypt extension cannot be loaded. check that the PHP configuration is incorrect. in the following cases, the phpmyadmin program running may prompt "the mcrypt extension cannot be loaded, please check the PHP configuration error prompt
When phpmyadmin is enabled, the system prompts that the mcrypt extension cannot be loaded. check that the PHP configuration is incorrect. in the following cases, the phpmyadmin program running may prompt "the mcrypt extension cannot be loaded, please check the PHP configuration error prompt
Windows solution
1. the Mysql database is not correctly installed, and Mysql-related services are not started in the system service (please check the correct method for installing Mysql)
2. libmcrypt is missing in the system32 (C: windowssystem32) Directory of the system. dll file. the solution is to find libmcrypt under the php directory. dll, and libmcrypt. copy the dll to the C: windows system32 directory and restart the Web service.
3. in the C: windows directory, php. in the INI file, the previous ";" in "; extension = php_mcrypt.dll" is not removed, so the corresponding function cannot be used. the solution is to open php. ini file, find
; Replace extension = php_mcrypt.dll with extension = php_mcrypt.dll, and remove the previous one to make it take effect.
Solution in linux
I. unable to load the mcrypt extension. Please check your PHP configuration
Sudo apt-get install libmcrypt4 php5-mcrypt // install libmcrypt
Sudo/etc/init. d/apache2 restart // restart apache
2. a phrase password is required for the configuration file.
1. open the config. default. php file in the phpmyadmin/libraries directory in the editor.
2. search for the following line: $ cfg ['blowfish _ secret'] = 'here is the required phrase password'; (enter the phrase password at will) this problem will occur, when phpmyadmin is configured to fill in the authentication method, that is, the following line: $ cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';
There are four modes available here: cookie, http, HTTP, config
In config mode, you can directly access the phpmyadmin access url without entering the user name and password. it is insecure and is not recommended.
When this option is set to cookie, http or HTTP, you need to use the data username and password for verification to log on to phpmyadmin. for details, refer to the following: PHP installation mode is Apache, and http and cookie can be used; the PHP installation mode is CGI. you can use cookies.