cyclists 大佬有话说 :
不知道这个点还有人没,DirectoryLister目录列表 宝塔安装出错
Fatal error: Uncaught Error: Call to undefined function fnmatch() in /www/wwwroot/xxx.com/resources/DirectoryLister.php:781 Stack trace: #0 /www/wwwroot/xxx.com/resources/DirectoryLister.php(620): DirectoryLister->_isHidden(‘.gitignore’) #1 /www/wwwroot/xxx.com/resources/DirectoryLister.php(170): DirectoryLister->_readDirectory(‘.’) #2 /www/wwwroot/xxx.com/index.php(34): DirectoryLister->listDirectory(‘.’) #3 {main} thrown in /www/wwwroot/xxx.com/resources/DirectoryLister.php on line 781
是啥意思,宝塔nginx1.18 PHP7.3
看不懂错误啊,哪位鸡鸡大的知道???
安装DirectoryLister3.0版本以上的没问题,但界面太花哨了,老版本简单好看。
sunpma 大佬有话说 :
伪静态试试~~
location / {
rewrite /(.*)/$ /index.php?dir=$1 last;
}
cyclists 大佬有话说 :
sunpma 大佬有话说 : 2021-7-31 01:13
伪静态试试~~
试过了,不知道啥原因,之前在另外一台机器上没事,同样的环境