Configure the use of Php_fileinfo.dll in Win32 environments

Source: Internet
Author: User
Tags win32

1. Download Php_fileinfo.dll file (http://www.dllzj.com/) online. If you are using XAMPP, you do not have to download it yourself, XAMPP has integrated this thing inside.

2, to sourceforge.net download the file program (file program is GNUWin32 project one of the programs), address is: http://sourceforge.net/projects/gnuwin32/files/ file/, but it's best to choose Version 4.20 or earlier, because there are no Magic.mime files in later versions. Download the binary version, similar to File-x.xx-bin.zip. Unzip the downloaded File-x.xx-bin.zip and copy the magic and magic.mime two files that hold the file type information from the share directory to a directory (/extras of the PHP installation directory).

3, PHP.ini joined such a line: Extension=php_fileinfo.dll. Restart Apache to see if Phpinfo () has properly enabled FileInfo.

4. Note that you must install different DLL files according to the number of digits (32 bits or 64 bits) of your machine.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.