About phpmyadmin can't load mcrypt extension solution

  
                  About phpmyadmin prompts “ Unable to load mcrypt extension, <br /> Please check the PHP configuration” error prompt, mainly for the following reasons, the following method can solve this problem. 1, the Mysql database is not installed correctly, Mysql related services are not started in the system service (please check the method of correctly installing Mysql) 2. The libmcrypt.dll file is missing in the system32 (C:\\windows\\system32) directory of the system. To do this, find libmcrypt.dll in the php directory, copy libmcrypt.dll to the C:\\windows\\system32 directory, and restart the web service. 3. In the php.ini file in the C:\\windows directory, the previous “;” in “;extension=php_mcrypt.dll” is removed, so the corresponding function cannot be used. The solution is to open php. Ini file found; extension=php_mcrypt.dll changed to extension=php_mcrypt.dll //Remove the previous one; make it effective 4. Mysql directory has no read permission, the correct directory permissions are as follows: administrator full control system Full control user read plus Run other user permissions to delete all (can also be retained, but the security is not high, it is recommended to delete), and then restart MYsql service and Web service (recommended to modify the server and restart the server) After you have tried the above methods, it still does not work, in fact, There is also one of the most critical steps, rarely mentioned on the Internet. Solution, the author's PHP environment is windows server 2003 + IIS + PHP5 + MYSQL5, in fact, winxp is the same configuration. Desktop → my computer → right-click attribute → advanced → environment variable → system variable → new variable name: phprc variable value: C: \\ php (path of the directory where PHP is located)
Copyright © Windows knowledge All Rights Reserved