This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I got this message when I installed October CMS:
System configuration tips There are issues you need to pay attention to in order to configure the system properly. The PHP extension fileinfo is not installed. Please install this library and activate the extension.
How to fix that?
depends on what OS and setup your using.
Easiest way is to create a page that has the following code on it.
<?php phpinfo(); ?>
This will display information about your PHP setup.
Look for the property
Loaded Configuration File
This will tell you the path to your PHP.ini file.
Open up this file using a text editor and search for the word 'extension'
You will see a bunch of them, many will have a semicolon ; infront of them. Find the line as indicated by kattsof and remove the semicolon. Restart apache or IIS and voila, it will load this dynamic extension.
Hope this helps
I had the same issue on xampp. Uncommented the fileinfo line in php.ini, restarted apache and the issue continues.
In phpinfo() the fileinfo library is loaded.
Any clues?
Thanks,
What's the solution for those of us on shared hosting who only have .htaccess
? :)
What problems will be caused by not having fileinfo
installed?
Can these problems be solved without fileinfo
?
Can we (should we) make the error message go away?
Last updated
What's the solution for those of us on shared hosting who only have
.htaccess
? :)
It depends on your hoster. Some Hoster allow overriding settings, easiest way to find out is to mail your hoster or simply change it;)
Last updated
Hi @crazymodder
In my experience, if I run phpinfo() and find '--disable-fileinfo'
- It can't be changed.
- they won't be changing their policy for one client.
Perhaps my questions should have been:
- Can
fileinfo
(and the backend check for it) be disabled in OctoberCMS without breaking anything important? - If so, how?
I think you need it for checking file uploads. Yes I know that hosters won't change their policy but why you choose simply another one?
Hello @alanQ
if you are using cpanel and have the paper lantern theme, under the software dashlet click php. there you should see a list of all the modules. you can check fileinfo... voila you are done
Thank you @Crazymodder (sorry for the delay) and @naemugo17099
Yes I know that hosters won't change their policy but why you choose simply another one?
First apparently immutable problem I've had with them. Customer support is second to none. So, I'd rather stay with them.
if you are using cpanel and have the paper lantern theme, under the software dashlet click php. there you should see a list of all the modules. you can check fileinfo... voila you are done
I would imagine this also requires a host with an enable/disable policy ;)
Problem solved for me:
fileinfo
was probably disabled when there was a security bug (http://www.cvedetails.com/cve/CVE-2013-4636/). Not re-enabling fileinfo
when the bug was fixed was an oversight. My host scheduled a server restart with fileinfo
enabled :) This illustrates why I'm sticking with them.
kattsoff said:
You should uncomment in your php.ini this line:
extension=php_fileinfo.dll
- Thanks dude! I'm using UniServer to try this from home for now, had to edit the php_production.ini file in core/php7 folder, restarted the server and bam!!
- )
on xampp server (php.ini file) search for extension=gd and extension=fileinfo and uncomment. This solution worked for me.
1-15 of 15