Howto install a PHP FileInfo

Site Admin
Posts: 67
Joined: Fri May 31, 2013 1:04 pm

Howto install a PHP FileInfo

Postby hr-ethadmin » Thu Nov 28, 2013 10:00 am

The functions in this module try to guess the content type and encoding of a file by looking for certain magic byte sequences at specific positions within the file. While this is not a bullet proof approach the heuristics used do a very good job.

# wget
# tar -zxf Fileinfo-1.0.4.tgz
# cd Fileinfo-1.0.4
# phpize
# ./configure
# make
# make install

Add: in php.ini

Restart Apache service.


Return to “Hostripples dedicated Servers (Linux/Windows)”

Who is online

Users browsing this forum: No registered users and 1 guest