Error finfo

See all posts Reply

Error finfo new!
by Sai, 10 years, 7 months ago
Hello! I get an error "Class finfo could not be loaded". What could be the reason?Reply
Re: Error finfo new!
by colin, 10 years, 7 months ago
Check that Fileinfo is properly installed on your system. If it is, and it still fails, then copy here the relevant section of your php.iniReply
Re: Error finfo new!
by Sai, 10 years, 7 months ago
Hoster will not let me take the file php.ini. That conclusion phpinfo(); http://otdc.ru/phpinfo.php

I like your class.I would use it, please help me.Reply
Re: Error finfo new!
by colin, 10 years, 7 months ago
Your host doesn't support fileinfo, despite the fact it is part of PHP 5.3.

What you can do is to deactivate the code using fileinfo in the class. Search for this line in the class:
$this->mime_fileinfo            = true;
And replace it with
$this->mime_fileinfo            = false;
Reply
Re: Error finfo new!
by Sai, 10 years, 7 months ago
Thank you. I'll include them this extension. If they refuse, I will take your advice.Reply