Enable PHP FileInfo on Windows
scottalanmiller last edited by
If you are trying to use PHP on Windows, you are likely to run into an issue of FileInfo being missing. This is just a matter of an odd default.
Search for your php.ini file. Edit it in Notepad (or whatever), search for a line with php_fileinfo in it. It will be commented out by default. Remove the semi-colon at the beginning of the line to activate it. The line should be...
And that's it. Now it works. These instructions apply to all versions of Windows and for PHP 5.4 and later, I believe. Currently tested with 7.4.