I’m trying to use finfo in my site’s php programs. I’ve selected PHP 5.3.x Fast CGI for my PHP mode.
When I try to call finfo_open() I get the following error:
Similarly, I get an error when I try to instantiate a new object using:
[php]$finfo = new finfo(FILEINFO_MIME_TYPE);[/php]
I thought finfo was built-in for PHP 5.3.x