简体   繁体   中英

Mcrypt PHP extension required

I installed laravel via composer, but when running the site its giving an error of

Mcrypt PHP extension required.

I installed php5-mcrypt also, but still the error persist.

Mcrypt is installed but not enabled use

sudo php5enmod mcrypt
sudo service apache2 restart

You need to check that wheather the configuration files has been linked properly.It can be done via php5enmod .

Remove the symlink created by

sudo rm /etc/php5/apache2/conf.d/20-mcrypt.ini

Then use the php5enmod tool

sudo php5enmod mcrypt

Finally reload apache

sudo service apache2 reload

Check the source

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM