This forum has moved to a new location and is in read-only mode. Please visit talk. octobercms. com to access the new location
- Diễn đàn
- FormTools Support
- The PHP extension fileinfo is not installed
Post a reply
84772 views
thanh trừng
7 years ago
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?
kattsoff
7 years ago
You should uncomment in your php. ini this line
extension=php_fileinfo.dll
thanh trừng
7 years ago
Sorry, where can I find this file?
cdude00418906
7 years ago
same problem here tell in detail please
dazmiller8556
7 years ago
depends on what OS and setup your using
Easiest way is to create a page that has the following code on it
This will display information about your PHP setup
Look for the property
Loaded Configuration File
This will tell you the path to your PHP. tập tin ini
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
levin
7 years ago
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?
Cảm ơn,
kiran14097
6 years ago
thanks @kattsoff
AlanQ
6 years ago
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 6 years ago
Crazymodder
6 years ago
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 6 years ago
AlanQ
6 years ago
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?
Crazymodder
6 years ago
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?
trụ trì
6 years ago
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
AlanQ
6 years ago
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
simmonsfrank52827
2 years ago
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. ]kattsoff said
You should uncomment in your php. ini this line
extension=php_fileinfo.dll
ranjeetha62981
1 year ago
on xampp server [php. ini file] search for extension=gd and extension=fileinfo and uncomment. This solution worked for me
1-15 of 15
You cannot edit posts or make replies. the forum has moved to talk. octobercms. com
Latest from the blog
Black Friday Sale. 30% Off Licenses, Annual Plans and Marketplace Products
October CMS is celebrating Black Friday and Cyber Monday. Get discounts on the annual plans and Marketplace products