The mcrypt extension cannot be loaded. <br/> check the PHP configuration.
In the following situations, the error message "unable to load mcrypt extension, <br/> check PHP configuration" may occur when you run the phpmyadmin program.
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: \ windows \ system32) 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. php In the C: \ windows Directory. 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
; Extension = php_mcrypt.dll
Change
Extension = php_mcrypt.dll // remove the previous one to make it take effect.
4. the Mysql directory has no read permission. The correct directory permission is as follows:
Full administrator control
Full system control
User reading and running
All other user permissions can be deleted (or retained, but the security is not high. We recommend that you delete them), and then restart the MYsql service and Web Service (we recommend that you modify this item and then restart the server)
After trying all the methods, you still can't do it. In fact, there is still another step. I rarely say on the Internet that the solution is WINXP + IIS + PHP5 + MYSQL5.
Desktop> my computer> right-click Properties> advanced> environment variables> system variables> New
Name: phprc
Value: d: \ php (what directory is your PHP)