PHP Extension Repository is a modern mirror of PECL website with Windows pre-build.
The Fileinfo extension in PHP provides functions to determine the type of a file based on its content rather than its extension.
The Fileinfo extension in PHP provides functions to determine the type of a file based on its content rather than its extension. This extension is included by default, but it must be enabled in the `php.ini` file. To activate it, uncomment the line `;extension=fileinfo` by removing the semicolon, and then restart your web server.
Maintainer
Details