Reputation: 1115
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.
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
Upvotes: 3
Views: 12294
Reputation: 51
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 php-mcrypt*
Upvotes: 5
Reputation: 1115
wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm
sudo yum install epel-release-7-1.noarch.rpm
yum install php-mcrypt*
restart Apache
sudo service httpd restart
Upvotes: 0
Reputation: 674
You may need to install EPEL repository.
http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/
Then try to install mcrypt extension
Open terminal as root (su)
wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
rpm -ivh epel-release-7-0.2.noarch.rpm
yum update
yum install php-mcrypt*
Upvotes: 1