Installation of phpMyAdmin cannot load mcrypt extension mcrypt library Installation

Source: Internet
Author: User
Tags mcrypt

Unable to load mcrypt extension,
Check PHP configuration
In the following situations, you may run the phpMyAdmin program and prompt "The mcrypt extension cannot be loaded,
Please check the PHP configuration error prompt

 Install the mcrypt Library

Mrcypt is not installed in the standard PHP installation process, but the main directory of PHP contains libmcrypt. DLL and libmhash. DLL file (libmhash. DLL is the mhash extension library, which can be installed together here ). First, copy the two files to the system directory Windows/system32, and then in PHP. press Ctrl + F in the INI file to jump out of the search box, and find the; Extension = php-mcrypt.dll and; Extension = php_mhash.dll statements, and then remove the previous ";"; finally, save and restart the Apache server.

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 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
; Extension = php_mcrypt.dll
Extension = php_mcrypt.dll // remove the previous one to make it take effect.

Replace it with a multi-language version to refresh it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.