我在调试小程序时,一进入小程序首页,就会显示下图提示信息:
代码出错的地方如下:
它要求安装fileinfo插件,但是我已经安装了这个插件。微擎部署在宝塔上,小程序使用的是PHP 5.6。下图为PHP的插件安装情况:
在服务器上,查询PHP的插件,也能看到fileinfo:
[root@centos ~]# php -v
PHP 5.6.30 (cli) (built: Jun 5 2017 17:34:00)
Copyright © 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.3.2, Copyright © 2002-2018, by ionCube Ltd.
with Zend Guard Loader v3.3, Copyright © 1998-2014, by Zend Technologies
[root@centos ~]#
[root@centos ~]# php --ri fileinfo
fileinfo
fileinfo support => enabled
version => 1.0.5
libmagic => 517
请问,这到底是什么问题?要怎么解决?