2014-08-04 11:44
浏览 47

需要Mcrypt PHP扩展

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.

图片转代码服务由CSDN问答提供 功能建议


 需要Mcrypt PHP扩展。


  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • dongshushen4392 2014-08-04 11:45

    Mcrypt is installed but not enabled use

    sudo php5enmod mcrypt
    sudo service apache2 restart
    打赏 评论
  • dqp4933 2014-08-04 11:52

    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

    打赏 评论

相关推荐 更多相似问题