Marlon's Blog

记录生活、技术中的二三事.


  • Home

  • Archives

  • Tags

  • Bio

ubuntu下运行laravel提示缺少mcrypt扩展

Published at: 2014-09-14   |   Reading: 57 words ~1min
1
2
3
4
5
6
7
sudo apt-get install php5-mcrypt

sudo mv -i /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available

sudo php5enmod mcrypt

service apache2 restart

上面的方法不知道为什么有时候不管用,用下面的这个

cd /etc/php5/mods-available/conf.d/ sudo ln -s ../../conf.d/mcrypt.ini ./20-mcrypt.ini sudo service apache2 restart

#laravel#
  • Author: Marlon Fan
  • Link: https://www.marlon.life/2014/09/14/missing-mcrpyt-ext-in-ubuntu/
  • License: All articles in this blog are licensed under CC BY-NC-ND 4.0 unless stating additionally.
mysql语句优化
php进阶10问
Marlon Fan

Marlon Fan

宁静致远

48 Blogs
30 Tags
Homepage GitHub Twitter Zhihu
Friends
    过往云烟
© 2008 - 2024 Marlon Fan. All rights reserved. 晋ICP备20002733号-1
0%