phpMyAdmin Unable to load MCrypt problem Resolution _php Tutorial

Source: Internet
Author: User
Tags mcrypt
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 ...

  • Related Article

    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.