Today when opening the phpMyAdmin prompt: phpMyAdmin appear unable to load mcrypt extension, please check the PHP configuration, let me come to see you can not load mcrypt problem resolution.
You open phpMyAdmin will prompt: Unable to load the mcrypt extension, please check the PHP configuration error
The following scenarios may cause the run phpMyAdmin program prompt to "fail to load the mcrypt extension,
Please check the PHP configuration "error message
Windows Solutions
1, the MySQL database is not installed correctly, in the system service MySQL related services did not start (please check the correct way to install MySQL)
2, in the system system32 (C:WINDOWSSYSTEM32) directory is missing Libmcrypt.dll file, the solution is to find the PHP directory Libmcrypt.dll, and copy Libmcrypt.dll to C:windows System32 directory, and then restart the Web service.
3, in the C:windows directory of the php.ini file, there is no "; Extension=php_mcrypt.dll" in the previous ";" removed, so the function cannot be used, the workaround is to open the php.ini file
The code is as follows |
Copy Code |
Found it ; Extension=php_mcrypt.dll Change into Extension=php_mcrypt.dll//Remove the front; make it effective |
Solutions for Linux Systems
One: Unable to load the mcrypt extension, please check your PHP configuration
The code is as follows |
Copy Code |
sudo apt-get install LIBMCRYPT4 php5-mcrypt//install Libmcrypt
Sudo/etc/init.d/apache2 Restart//restart Apache
|
Two: Configuration file now requires a phrase password
1. Open the config.default.php file in directory phpmyadmin/libraries with the editor
2, find the following line: $cfg [' blowfish_secret '] = ' here is the required phrase password '; (Please feel free to fill in the phrase password)
This problem occurs when you configure phpMyAdmin to fill out the authentication method, which is the following line:
$cfg [' Servers '] [$i] [' auth_type '] = ' cookie ';
There are four different modes to choose from, Cookie,http,http,config
The Config method is to enter the phpMyAdmin access URL directly, no need to enter the user name and password, is not safe, is not recommended to use.
When the entry is set to Cookie,http or HTTP, the login phpMyAdmin requires a data user name and password for authentication, as follows:
PHP installation mode is Apache, you can use HTTP and cookies;
PHP installation mode is CGI, you can use cookies
http://www.bkjia.com/PHPjc/633213.html www.bkjia.com true http://www.bkjia.com/PHPjc/633213.html techarticle today when opening the phpMyAdmin prompt: phpMyAdmin appear unable to load mcrypt extension, please check the PHP configuration, let me come to see you can not load mcrypt problem resolution. You open ...