美文网首页
4.mac php报错:Use of undefined con

4.mac php报错:Use of undefined con

作者: lMadman | 来源:发表于2017-07-22 01:05 被阅读0次

错误的原因是没有安装PHP的mcrypt扩展,却用到了扩展里定义的加密方式的常量

这里说一种简单的安装方法:

brew search mcrypt
brew install mcrypt
image.png

相关文章

网友评论

      本文标题:4.mac php报错:Use of undefined con

      本文链接:https://www.haomeiwen.com/subject/vypykxtx.html