downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Requirements> <Introduction
[edit] Last updated: Fri, 26 Apr 2013

view this page in

Installing/Configuring

Table of Contents



Requirements> <Introduction
[edit] Last updated: Fri, 26 Apr 2013
 
add a note add a note User Contributed Notes Installing/Configuring - [5 notes]
up
2
RickertB
4 years ago
When installing fileinfo on php5.2 on ubuntu and having a problem with phpize,

you must also install the php5-dev package..
apt-get install php5-dev

Then verify if 'phpize' is in your PATH
up
1
Anonymous
4 years ago
for gentoo you will need to emerge pecl-fileinfo
up
1
grillen at abendstille dot at
4 years ago
on opensuse 10.2 systems you'll need the file-devel package.
up
1
greg at freephile dot com
4 years ago
For Kubuntu systems and probably most other Linuxes, after installing libmime-devel, I could successfully install the PECL Fileinfo package.

$ sudo apt-get install libmagic-dev

$ sudo pecl install Fileinfo
up
-1
LaurentT
4 years ago
For Unix (tested on Gentoo, php 5.2.5)

You can also use
/usr/local/php5/bin/pecl install fileinfo

path to the pecl binary may depend on your system.

When installation is done, to autoload the module, in php.ini :
extension=fileinfo.so

Note : check your extension dir if it fails.

You can check if the extension is correctly loaded with php -m

 
show source | credits | stats | sitemap | contact | advertising | mirror sites