Cửa sổ tiện ích mở rộng fileinfo php

This forum has moved to a new location and is in read-only mode. Please visit talk. octobercms. com to access the new location

  1. Diễn đàn
  2. FormTools Support
  3. The PHP extension fileinfo is not installed

Post a reply

84772 views

Cửa sổ tiện ích mở rộng fileinfo php

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?

Cửa sổ tiện ích mở rộng fileinfo php

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?

Cửa sổ tiện ích mở rộng fileinfo php

cdude00418906

7 years ago

same problem here tell in detail please

Cửa sổ tiện ích mở rộng fileinfo php

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

Cửa sổ tiện ích mở rộng fileinfo php

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,

Cửa sổ tiện ích mở rộng fileinfo php

kiran14097

6 years ago

thanks @kattsoff

Cửa sổ tiện ích mở rộng fileinfo php

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

Cửa sổ tiện ích mở rộng fileinfo php

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'

  1. It can't be changed
  2. they won't be changing their policy for one client

Perhaps my questions should have been

  1. Can fileinfo (and the backend check for it) be disabled in OctoberCMS without breaking anything important?
  2. 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?

Cửa sổ tiện ích mở rộng fileinfo php

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

Cửa sổ tiện ích mở rộng fileinfo php

simmonsfrank52827

2 years ago

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. )

Cửa sổ tiện ích mở rộng fileinfo php

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