The mcrypt extension cannot be loaded. check the PHP configuration ultimate solution.

Source: Internet
Author: User
When phpmyadmin is used, the following message is displayed: mcrypt extension cannot be loaded. br/check the PHP configuration reason: libmcrypt. dll is required for php_mcrypt.dll. Solution: 1) in the php. ini configuration file, search; extension = php_mcrypt.dll before php_mcrypt.dll

When phpmyadmin is used, the following message is displayed:
Unable to load mcrypt extension,
Check PHP configuration

Cause: php_mcrypt.dll requires libmcrypt. dll support.

The solution is as follows:

1). in the php. ini configuration file, search; extension = php_mcrypt.dll

Remove the semicolon (;) before php_mcrypt.dll and change it

Extension = php_mcrypt.dll

2) copy libmcrypt. dll from php5 to the system32 directory.

3). after modification, restart iis (iis must restart the server with the iisreset command in cmd, and the restart of "Internet information service" is invalid) or Apache.

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: info-contact@alibabacloud.com 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.