PHP Doku:: Installation/Konfiguration - fileinfo.setup.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDateisystemrelevante ErweiterungenFile InformationInstallation/Konfiguration

Ein Service von Reinhard Neidl - Webprogrammierung.

File Information

<<Einführung

Anforderungen>>


UnterSeiten:

Installation/Konfiguration

Inhaltsverzeichnis


5 BenutzerBeiträge:
- Beiträge aktualisieren...
LaurentT
25.03.2009 11:51
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
RickertB
17.02.2009 23:14
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
Anonymous
10.10.2008 6:05
for gentoo you will need to emerge pecl-fileinfo
grillen at abendstille dot at
9.10.2008 10:54
on opensuse 10.2 systems you'll need the file-devel package.
greg at freephile dot com
1.10.2008 17:29
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



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)