xu.wang
发布于 2018.05.28 20:29 阅读 2846 评论 0
原因:CentOS 缺少 mcrypt 扩展
解决办法:
安装php-mcrypt libmcrypt libmcrypt-devel
步骤:
1. yum install php-mcrypt libmcrypt libmcrypt-devel
2.重启php :systemctl restart php-fpm
3:重启Nginx (这里我用的是Nginx):systemctl restart nginx
或者 systemctl restart httpd(使用 apache 的话)
{{ cmt.username }}
{{ cmt.content }}
{{ cmt.commentDate | formatDate('YYYY.MM.DD hh:mm') }}
{{ cmt.username }}
{{ cmt.content }}
{{ cmt.commentDate | formatDate('YYYY.MM.DD hh:mm') }}