出现这类问题时,需要检查一下nginx定位的网站根目录中,是否有user.ini 文件
至于user.ini 文件是什么 https://www.php.net/manual/zh/configuration.file.per-user.php#111834 中有介绍
这类文件仅会被cgi/fast cgi/sapi处理,次文件会使得pecl 的htscanner扩展作废,所以路径没填写正确会产生这样的异常。如果使用apache,则用.hataccess 有同样的效果
原文地址:https://www.cnblogs.com/gosimple/p/12690437.html
时间: 2024-07-30 09:00:23