Local Community

Add PHP fileinfo extension to each project

After creating your website, if you check the site health, it will appear that the “fileinfo” extension is missing. To add it to each project creation, open the file C:\Users<your name>\AppData\Roaming\Local\lightning-services\php-7.4.1+16\conf\php.ini.hbs (adapt the path according to your installation) and add “extension=php_fileinfo.dll” in the “Load extensions” section. Save the file and it’s ok.

Thanks for this recommendation @Tilt !

We’re working on ways to standardize and automate the building of these extensions, so this is helpful in identifying where we can improve!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.