Jump to:

4875 Posts in 7105 Topics by 1472 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » fileinfo should be enabled in PHP - false positive?

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 3154 Views
  • Spaghetti
    Avatar
    Community Member
    31 Posts

    fileinfo should be enabled in PHP - false positive? Link to this post

    When I try to install SilverStripe 3 on my hosting I get this warning:

    fileinfo should be enabled in PHP. SilverStripe uses it for MIME type detection of files. SilverStripe will still operate, but email attachments and sending files to browser (e.g. export data to CSV) may not work correctly without finfo.

    Support has told me that fileinfo is no longer a module and is built into PHP? I can't see it in the list of modules in phpinfo().

    Is this a bug with SS (i.e. is it wrongly reporting an error) or is it a configuration issue?

  • arthurdent
    Avatar
    Community Member
    132 Posts

    Re: fileinfo should be enabled in PHP - false positive? Link to this post

    I've got the same thing - not sure if it's a true 'error' as my SilverStripe install still installs and 'runs' - by which I mean I get a site, I can load themes, etc. However I'm encountering errors when writing new content to the database... don't think this is related to this issue however?

    Did you complete your install? Were there any further errors from this point?

  • Spaghetti
    Avatar
    Community Member
    31 Posts

    Re: fileinfo should be enabled in PHP - false positive? Link to this post

    I completed my install and everything seemed to work fine. I suspect the installer hasn't been updated in line with PHP, so it's a false positive in that regard.

  • Hery
    Avatar
    Community Member
    14 Posts

    Re: fileinfo should be enabled in PHP - false positive? Link to this post

    I also get the same problem, there are some things I can not do this as a result of problems displaying video and probably many more problems that I know of yet.

  • sunilk
    Avatar
    Community Member
    1 Post

    Re: fileinfo should be enabled in PHP - false positive? Link to this post

    go to your php.ini file and uncomment extension extension=php_fileinfo.dll and restart your services.

  • arthurdent
    Avatar
    Community Member
    132 Posts

    Re: fileinfo should be enabled in PHP - false positive? Link to this post

    I found this file as part of my test server setup, not SilverStripe. Couldn't find this line in the file (assume the comment is a ; preceding the rule)? I set this line up as a new rule, to no avail.

  • Cgull
    Avatar
    Community Member
    23 Posts

    Re: fileinfo should be enabled in PHP - false positive? Link to this post

    Just developing my first site with silverstripe.

    Is fileinfo really neccesery? I need a form where users should attach files to the email will that not work without fileinfo?

    My host says they will need to put my site down for a while to install fileinfo, this might be a big issue for me and I'll might stop using silverstripe so need to know urgently if that's a problem.

    Can someone please help?

  • arthurdent
    Avatar
    Community Member
    132 Posts

    Re: fileinfo should be enabled in PHP - false positive? Link to this post

    All that I can say is that this never happened with older versions of SilverStripe. What's going on guys?

    3154 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.