I'm making a simple call to finfo_open() and I get:
"Call to undefined function finfo_open()"
Isn't FileInfo packaged with php 5.3.3 (Unix). Do I need to turn it on in php.ini?
Thanks
It looks like you could get it enabled but you're missing some constants. These are the values from my system:
FILEINFO_NONE = 0
FILEINFO_SYMLINK = 2
FILEINFO_MIME = 1040
FILEINFO_MIME_TYPE = 16
FILEINFO_MIME_ENCODING = 1024
FILEINFO_DEVICES = 8
FILEINFO_CONTINUE = 32
FILEINFO_PRESERVE_ATIME = 128
FILEINFO_RAW = 256
Maybe it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With