How do I enable the PHP Fileinfo extension?
Thanks
Hi Doug,
Glad to hear!
Assuming you’re on Windows, you can add extension=php_fileinfo.dll
into your site’s conf/php/php.ini.hbs
file around line 93 or so.
After adding it, you should see something similar to:
{{#if os.windows}}
; Load extensions
extension=php_curl.dll
extension=php_gettext.dll
extension=php_openssl.dll
extension=php_exif.dll
extension=php_gd2.dll
extension=php_ftp.dll
extension=php_imap.dll
extension=php_bz2.dll
extension=php_mbstring.dll
extension=php_sodium.dll
extension=php_tidy.dll
extension=php_xsl.dll
extension=php_xmlrpc.dll
extension=php_soap.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll
extension=php_fileinfo.dll
{{/if}}
Once you change the file, restart the site in Local for the config change to take effect.
Thank you…Is there any reason why this wouldn’t be activated/installed when setting things up?
Now it’s dead and threw what looked like a major error, damned if I can remember what it was…it was something about something not starting.
I was running v3 some time ago and abandoned it because it was slow as …
I installed v5.0.6 a couple of days ago on my secondary drive and everything was running smoothly.
I was using it this morning when I got your reply and I went in and added the appropriate code in the one site i needed it.
When I fired it back up it threw a major error when trying to load a site along the lines of something wasn’t started or connected.
Then it told me there was an update so I updated it.
Now when I try to start the new install from the local.exe file on the secondary drive it does nothing.
If I search for Local in Windows it shows me the Local app but fires up the old version.
The new version won’t open at all.
This is really a drag because I’ve got a full day of work I need to do and I can’t get to my site.
Help?!?
I uninstalled 3.0+, made a copy my sites folder for 5.0.5+900, uninstalled 5.0.6 and reinstalled 5.0.5+900 and I’m up and running again.
Not sure what’s happening but the update isn’t working as planned.
Hi @dougm1966,
Sorry for the trouble with this! We’ll keep an eye on the possible update issues.
In the meantime, is PHP Fileinfo still working for you?