use of undefined constant mcrypt_rijndael_128 - assumed 'mcrypt_rijndael_128'
通过apache启动时正常,但是用nginx启动就报这个错误。
这是在nginx下查看的
use of undefined constant mcrypt_rijndael_128 - assumed 'mcrypt_rijndael_128'
通过apache启动时正常,但是用nginx启动就报这个错误。
这是在nginx下查看的
看起来没有正确加载mcrypt模块;
可能nginx和apache加载的php配置文件不同,你用Nginx启动后;
写个phpinfo();查看php.ini的路径是否和apache下一致,或者直接查看下面的配置段是否有mcrypt配置段;
根据查到的php.ini路径,检查或配置mcrypt模块开启;然后重启php进程;
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号