note 107383 added to function.finfo-open
| From: | illusivefingers at gmail dot com | Date: | Mon, 06 Feb 2012 00:53:38 +0000 |
| Subject: | note 107383 added to function.finfo-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185862@lists.php.net to get a copy of this message | ||
I am running Windows 7 with Apache. It took hours to figure out why it was not working.
First, enable the php_fileinfo.dll extension in you php.ini. You'll also need the four magic
files that are found in the following library:
http://sourceforge.net/projects/gnuwin32/files/file/4.23/file-4.23-bin.zip/download
An environment variable or a direct path to the file named "magic" is necessary, without
any extension.
Then, make sure that xdebug is either turned off or set the ini error_reporting to not display
notices or warnings for the script.
Hope this saves someone a few hours of frustration!
----
Server IP: 69.147.83.197
Probable Submitter: 24.116.193.134
----
Manual Page -- http://www.php.net/manual/en/function.finfo-open.php
Edit -- https://master.php.net/note/edit/107383
Del: integrated -- https://master.php.net/note/delete/107383/integrated
Del: useless -- https://master.php.net/note/delete/107383/useless
Del: bad code -- https://master.php.net/note/delete/107383/bad+code
Del: spam -- https://master.php.net/note/delete/107383/spam
Del: non-english -- https://master.php.net/note/delete/107383/non-english
Del: in docs -- https://master.php.net/note/delete/107383/in+docs
Del: other reasons-- https://master.php.net/note/delete/107383
Reject -- https://master.php.net/note/reject/107383
Search -- https://master.php.net/manage/user-notes.php