Home / Snippets / How to Install Mcrypt PHP Extension for Laravel Application
How to Install Mcrypt PHP Extension for Laravel Application cover

How to Install Mcrypt PHP Extension for Laravel Application

400

3 years ago

0 comments

To install Mcrypt PHP extension you can generally make use of the pecl command.

For macOS


On macOS Big Sur you can run the following command and it will automatically install the Mcrypt PHP Extension.
pecl install mcrypt
Once it's installed you should add "extension=mcrypt.so" to php.ini and restart PHP.

For Ubuntu


For Ubuntu, that's running PHP version 8  you can run the command below.
sudo apt install php8.0-mcrypt
sudo phpenmod mcrypt
notion avatar

Alaz

Week-end developer currently experimenting with web, mobile, and all things programming.

Topics:

Frontend

Resource

Average

Average

Support Us

If you like our tutorial, support us by being our Patreon or buy us some coffee ☕️

Welcome to PostSrc V3

PostSrc Dark Logo

You have to login to favorite this