CentOS Yum Installation mcrypt detailed illustration tutorial

Source: Internet
Author: User
Tags mcrypt yum repolist

[email protected] ~]# Yum install php-mcryptsetting up install Processno package Php-mcrypt available. Error:nothing to do

The original CentOS official by default does not support the mcrypt module , so must find another way to toss 2 hours to finally fix, here mainly used the Fedora Extension library, EPEL (Extra Packages for Enterprise Linux) First share the resolution process as follows:

First step: Find the RPM package in the extension library

Open URL: http://mirrors.sohu.com/fedora-epel/6/i386/use ctrl+f search keyword "epel-release" Find current latest expansion pack discover latest version: EPEL-RELEASE-6-7.NOARCH.RPM

As follows:

Then execute the command:

[Email protected] ~]# RPM-IVH http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-7.noarch.rpm

See figure:

Note : The extension package is constantly updated, so you need to search for "epel-release" to find the correct version, otherwise the command will not perform successfully.

Step two: Execute the command: Yum UpdateSee the line system:

Execute command:

[[email protected] ~]# Yum update

Then there is a period of waiting, because the system will be updated to the latest version of CentOS may be longer. complete! Prompt When the update is complete

See:

Step three: Execute commands yum repolist view installation Results

To see if you already have the EPEL (Extra Packages for Enterprise Linux) expansion pack, execute the commands and the results are as follows:

Execute command:

[email protected] ~]# Yum repolist

See figure:

If the epel description shown in is found to have been installed successfully, you can continue with the execution.

Fourth step: Execute command: Yum install Php-mcrypt installation MCrypt expansion pack

Execute command:

[Roo[email protected] ~]# Yum install Php-mcrypt

See figure:

You can see that you are ready to install, and enter Y to continue with the installation.

Fifth step: Restarting Apache is an extension in effect

Execute command:

[Email protected] ~]# service httpd restart

See figure:

Turn on PHPMyadmin red error prompt no longer.

CentOS Yum Installation mcrypt detailed illustration tutorial

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.