Author Topic: Fileinfo/mime_content_type configuration: NOT OK  (Read 7451 times)

Offline joept

  • Newbie
  • *
  • Posts: 4
Fileinfo/mime_content_type configuration: NOT OK
« on: August 22, 2015, 01:11:31 PM »
Hi,

I am trying to install Roundcubemail (great software!)
But I get the following error message:

Test filetype detection
Fileinfo/mime_content_type configuration:  NOT OK
Check the Fileinfo functions of your PHP installation.
The path to the magic.mime file can be set using the mime_magic config option in Roundcube.
Mimetype to file extension mapping:  OK

How can I solve this error?

Because my php version is 5.2.3 I chose Roundecubemail version 1.0.6.
For more details about my PHP versie: www.myblogsite.nl/versie.php

I use Roundcubemail already , but an order version: www.myblogsite.nl/roundcubemail
Is there any difference between my Roundcube version: www.myblogsite.nl/roundcubemail and version 1.0.6?

Because I would like to keep the old Roundcubemail in the mean time during the installation I chose for a new installation.

I am looking forward to your response.

Thank you very much,


Joep
From The Netherlands (Dutch)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Fileinfo/mime_content_type configuration: NOT OK
« Reply #1 on: August 22, 2015, 03:13:54 PM »
First of all why are you using a server that has PHP 5.2.x? Security support for PHP 5.2.x ended on January 6, 2011. Not to mention PHP 5.2.17 was that last release in the 5.2.x branch you using PHP 5.2.3 which was released May 31, 2007. Your system is extremely out of date and you should be more concerned with updating the system then Roundcube.

Next are you using MySQL? Because if you are the last branch of Roundcube you can use is 0.8.x. Roundcube 0.9.x and higher wont work correctly with the MySQL PDO driver that came with PHP 5.2.x.

Finally it doesn't look like you system has fileinfo installed, its included by default in PHP 5.3.x and newer but is still available on as a PECL extension for older versions of PHP: http://pecl.php.net/package/fileinfo

To summarize: Update your system!

Offline joept

  • Newbie
  • *
  • Posts: 4
Re: Fileinfo/mime_content_type configuration: NOT OK
« Reply #2 on: August 24, 2015, 03:53:45 PM »
Hi SKaero,

Thank you very much for your quick response.
I thought my hosting provider was quite good..... :(
This also confirmed why I can't update my Wordpress version.

I contacted my hosting provider to ask why they not update/change the PHP version.
Unfortunately they will not update/change the PHP version.

So I decided to go to another hosting provider, with a better/newer PHP version.


Joep

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Fileinfo/mime_content_type configuration: NOT OK
« Reply #3 on: August 24, 2015, 09:21:39 PM »
An out of date Wordpress install has a lot of security problems as well. I definitely think its a good idea to move hosts.