Call to undefined function finfo_open()

我的梦境 提交于 2019-12-12 10:23:47

问题


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.

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:


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.



来源:https://stackoverflow.com/questions/42989465/call-to-undefined-function-finfo-open

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!