| |
When installing RoundCube webmail I found out that the extension "Fileinfo" (also knows as fileinfo.so) wasn't working or installed and I wasn't sure how to get it fixed. After checking my server I found out that its not even installed or configured to work with PHP and Apache. The settings are already set is my Apache vhost as they are supposed to and if you don't know the settings they you can find it here below. The solution I'm posting here worked very well for me and its probably going to work for you as well. For this solution I'm running a Ubuntu LAMP Server.
AllowOverride Indexes AuthConfig Limit FileInfo
Resolving the problem now.
1. Run commands in this order
apt-get install build-essential apt-get install php-pear php5-dev libmagic-dev pecl install fileinfo
2. Go to this folder as specified below and create a file called "fileinfo.ini" (you can also copy any of the existing .ini files and rename it too fileinfo.ini.)
/etc/php5/apache2/conf.d/
3. Edit the file (the file you just created)
/etc/php5/apache2/conf.d/fileinfo.ini
4. Change or add the content from this code.
# configuration for php fileinfo module extension=fileinfo.so
5. Restart Apache
/etc/init.d/apache2 restart or service apache2 restart
I hope thas this solution works well for you as it has done for me. After your restart you should have the extension active and when checking for example with Roundcube mails installation you should get a OK
Ayande
Website: www.ayande.se E-mail: This e-mail address is being protected from spambots. You need JavaScript enabled to view itContact Details
-
CityStockholm
-
CountrySweden






Do not promote sites here.