How do I enable FileInfo in PHP


#1

Windows

Installing PHP extensions on Windows is easy and the php_fileinfo.dll extension should be bundled with the PHP installation (if it isn’t then it is likely the version of PHP you are installing is too low).

There are plenty of articles giving detailed steps for this if you search for php windows php_fileinfo.dll, however the basic process is:

  • Find the PHP installation, look in the ext folder and make sure the file php_fileinfo.dll is present
  • In the PHP installation, look for the php.ini file and open it with Notepad or similar text editor
  • Search for php_fileinfo.dll and you may find a commented out section. If you do then uncomment it (by removing the leading ; character). If you don’t then add a line for it:

extension=php_fileinfo.dll

  • Restart your Apache web server service

Ubuntu / Debian

fileinfo is installed and enabled by default


Synology DSM 5

Enable the fileinfo extension by the following route:

Control Panel > Web Service > PHP parameters > Select php extensions


php_fileinfo needs to be enabled
Installation on unix system throws error with fileinfo requirement
Install Xibo on Synology DS213 (DSM 5)
Plesk panel activate fileinfo option
Xibo client player crash daily, due to Power Point becoming non responsive
#2