I uncommented
extension=php_fileinfo.dll
in both php.ini's (production and development), but still can't install package using composer.
When I run php -m
, I can't see fileinfo module. I'm using xampp.
Can someone help ?
I uncommented
extension=php_fileinfo.dll
in both php.ini's (production and development), but still can't install package using composer.
When I run php -m
, I can't see fileinfo module. I'm using xampp.
Can someone help ?
Found solution to this in MAMP.
PHP 7.1.5 is used as an example, but you likely are using a different version.
In addition to editing the php.ini in mamp\bin\php7.1.5\php.ini
, you need to add extension=php_fileinfo.dll
in mamp\conf\php7.1.5\php.ini
. Notice the conf folder.
In configurations, the file doesn't seem to be related to the running server, but it does in fact make a difference.