I am using laravel framework. laravel project running requirement is MCrypt. i m trying to install but i m facing error
HTTP request sent, awaiting response… 404 Not Found 2014-09-18 13:25:27 ERROR 404: Not Found.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
use root user or sudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm rpm -ivh epel-release-7-5.noarch.rpm yum install --enablerepo=“epel” php-mcrypt
use root user or sudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm rpm -ivh epel-release-7-5.noarch.rpm yum install --enablerepo=“epel” php-mcrypt
use root user or sudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm rpm -ivh epel-release-7-5.noarch.rpm yum install --enablerepo=“epel” php-mcrypt
Hello, all
First you’ll need to add the EPEL and REMi repository:
sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
Then you go ahead and install the MCrypt extension:
sudo yum install php-mcrypt
If you haven’t installed PHP yet run this first:
sudo yum update
sudo yum install php php-cli
If you want to install the basic PHP extensions run this:
sudo yum install php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json
The current PHP version should be 7.4. You can check the current verson using php -v
The expected output will be
$ php -v
PHP 7.4.0 (cli) (built: Nov 26 2019 20:13:36) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
To view enabled modules, run:
php --modules
or the short version php -m
Hope that this helps! Regards, Alex
Mcrypt has been moved for PHP72. Follow this guide :: https://www.techrepublic.com/article/how-to-install-mcrypt-for-php-7-2/
I can’t install =(. please help me… =( =( =(
PHP 7.2.14 > Directadmin > Centos 7.6.1810
[root@server ~]# wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm
--2019-01-20 01:56:31-- http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 209.132.181.23, 209.132.181.24
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.23|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-01-20 01:56:31 ERROR 404: Not Found.
[root@server ~]# rpm -ivh epel-release-7-1.noarch.rpm
error: open of epel-release-7-1.noarch.rpm failed: No such file or directory
[root@server ~]# yum install --enablerepo="epel" php-mcrypt
Loaded plugins: changelog, fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.checkdomain.de
* epel: mirror.wiuwiu.de
* extras: mirror.ratiokontakt.de
* updates: mirror.wiuwiu.de
No package php-mcrypt available.
Error: Nothing to do
[root@server ~]# sudo yum install epel-release-7-1.noarch.rpm
Loaded plugins: changelog, fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.checkdomain.de
* epel: mirror.wiuwiu.de
* extras: mirror.ratiokontakt.de
* updates: mirror.wiuwiu.de
No package epel-release-7-1.noarch.rpm available.
Error: Nothing to do
[root@server ~]# yum install epel-release-7-1.noarch.rpm
Loaded plugins: changelog, fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.checkdomain.de
* epel: mirror.wiuwiu.de
* extras: mirror.ratiokontakt.de
* updates: mirror.wiuwiu.de
No package epel-release-7-1.noarch.rpm available.
Error: Nothing to do
[root@server ~]# yum install php-mcrypt*
Loaded plugins: changelog, fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.checkdomain.de
* epel: mirror.wiuwiu.de
* extras: mirror.ratiokontakt.de
* updates: mirror.wiuwiu.de
No package php-mcrypt* available.
Error: Nothing to do
[root@server ~]#
[root@server ~]# restart Apache
-bash: restart: command not found
[root@server ~]#
[root@server ~]# sudo service httpd restart
Redirecting to /bin/systemctl restart httpd.service
[root@server src]# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm –2019-01-11 14:04:05-- http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm Resolving dl.fedoraproject.org (dl.fedoraproject.org)… 209.132.181.24, 209.132.181.23 Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.24|:80… connected. HTTP request sent, awaiting response… 404 Not Found 2019-01-11 14:04:05 ERROR 404: Not Found.
[root@server src]# rpm -ivh epel-release-7-2.noarch.rpm error: open of epel-release-7-2.noarch.rpm failed: No such file or directory [root@server src]# yum install --enablerepo=“epel” php-mcrypt Loaded plugins: changelog, fastestmirror Loading mirror speeds from cached hostfile
I am getting error .
[root@uploadr mcrypt]# wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/e pel-release-7-1.noarch.rpm
--2016-10-10 20:06:05-- http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel -release-7-1.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 209.132.181.26, 209.132 .181.23, 209.132.181.24, ...
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|209.132.181.26|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-10-10 20:06:06 ERROR 404: Not Found.
[root@uploadr mcrypt]#
This comment has been deleted
This might help, It works on me on my centos 7 x64 To install mcrypt just enter this command: sudo yum install php-mcrypt.x86_64
To search for packages just do this command: yum search php-
If you find the package that you’ve been looking for, and want to install it just do this command: sudo yum install <package name>
yum install php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base: centos.someimage.com
extras: mirrors.mit.edu
updates: mirror.lug.udel.edu
No package php-mcrypt available.
Error: Nothing to do
yum install php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base: centos.someimage.com
extras: mirrors.mit.edu
updates: mirror.lug.udel.edu
No package php-mcrypt available.
Error: Nothing to do
You can using EPEL (Extra Packages for Enterprise Linux) to install that.