add a noteadd a note

User Contributed Notes 4 notes

up
2
RickertB
13 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
-5
greg at freephile dot com
13 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
-10
Anonymous
13 years ago
for gentoo you will need to emerge pecl-fileinfo
up
-31
grillen at abendstille dot at
13 years ago
on opensuse 10.2 systems you'll need the file-devel package.

备份地址:http://www.lvesu.com/blog/php/fileinfo.setup.php