Call to undefined function finfo_open()

2019-06-14 08:18发布

In my phpinfo, it say's that the fileinfo is enabled. But Im still getting the error Call to undefined function finfo_open(). What am I missing? Please see the image of my configuration command.

enter image description here EDIT : I don't have a direct access to php.ini because im using a shared hosting. I can request them to update it for me but im not exactly sure what other else are needed to enable other than fileinfo.

1条回答
beautiful°
2楼-- · 2019-06-14 08:37

In your php.ini there should be something similar to ;extension=fileinfo.so or ;extension=php_fileinfo.dll. You will need to remove the ; to enable these. It looks like it's trying to call a function from the .dll but cannot find it.

查看更多
登录 后发表回答