Author Topic: Failed to load fileinfo.so module... (centos 5.5 x64)  (Read 4164 times)

Offline evildeadd007

  • Newbie
  • *
  • Posts: 1
Failed to load fileinfo.so module... (centos 5.5 x64)
« on: January 10, 2011, 07:47:08 PM »
System:
Centos 5.5:
Linux 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 13:35:30 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
PHP 5.2.10
Roundcube: Stable: 0.4.2

On the installer "Environment Check" I get the following...

Code: [Select]
Checking PHP version
Version:  OK(PHP 5.2.10 detected)
Checking PHP extensions

The following modules/extensions are required to run Roundcube:
PCRE:  OK
DOM:  OK
Session:  OK
XML:  OK
JSON:  OK

The next couple of extensions are optional and recommended to get the best performance:
[COLOR=Red][B]FileInfo:  NOT AVAILABLE(Could be loaded. Please add in php.ini; See http://www.php.net/manual/en/book.fileinfo.php)[/B][/COLOR]
Libiconv:  OK
Multibyte:  OK
OpenSSL:  OK
Mcrypt:  OK
Checking available databases

Check which of the supported extensions are installed. At least one of them is required.
MySQL:  OK
MySQLi:  OK
PostgreSQL:  OK
SQLite (v2):  NOT AVAILABLE(Not installed)
Check for required 3rd party libs

This also checks if the include path is set correctly.
PEAR:  OK
MDB2:  OK
Net_SMTP:  OK
Mail_mime:  OK
Checking php.ini/.htaccess settings

The following settings are required to run Roundcube:
file_uploads:  OK
session.auto_start:  OK
zend.ze1_compatibility_mode:  OK
mbstring.func_overload:  OK
suhosin.session.encrypt:  OK

The following settings are optional and recommended:
date.timezone:  NOT OK(Could be set)


I did upgrade from php 5.1 to 5.2, so I read that it may be due to a wrong php.ini setting for the extension dir.  Currently my php.ini is modified with...

extension_dir = "/usr/lib64/php/modules"
extension=fileinfo.so

Is there somewhere else I should have linked my extension dir?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Failed to load fileinfo.so module... (centos 5.5 x64)
« Reply #1 on: January 11, 2011, 02:47:23 AM »
Write "centos php fileinfo" into google