©
本文档使用 PHP中文网手册 发布
[#1] RickertB [2009-02-17 14:14:40]
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
[#2] Anonymous [2008-10-09 21:05:10]
for gentoo you will need to emerge pecl-fileinfo
[#3] grillen at abendstille dot at [2008-10-09 01:54:28]
on opensuse 10.2 systems you'll need the file-devel package.
[#4] greg at freephile dot com [2008-10-01 08:29:25]
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