php - laravel提示Use of undefined constant MCRYPT_RIJNDAEL_128 ?
天蓬老师
天蓬老师 2017-04-10 18:01:59
0
1
876

Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128'
通过apache启动时正常,但是用nginx启动就报这个错误。

这是在nginx下查看的

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

répondre à tous(1)
伊谢尔伦

看起来没有正确加载mcrypt模块;
可能nginx和apache加载的php配置文件不同,你用Nginx启动后;
写个phpinfo();查看php.ini的路径是否和apache下一致,或者直接查看下面的配置段是否有mcrypt配置段;
根据查到的php.ini路径,检查或配置mcrypt模块开启;然后重启php进程;

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!