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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
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:
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
To view enabled modules, run:
php --modules
or the short versionphp -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/