note 112304 added to fileinfo.configuration
| From: | thomandre at gmail dot com | Date: | Thu, 30 May 2013 14:41:19 +0000 |
| Subject: | note 112304 added to fileinfo.configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194991@lists.php.net to get a copy of this message | ||
In the PHP 5.3.13 CLI version, it might use the "MAGIC" environnement variable to get the
magic database file. Due to the fact that this version doesn't use the standard format, this
file may be wrong. You can see it via a simple script :
<?php
var_dump($_SERVER['MAGIC']);
?>
Unset this variable and it will work again. You can use unsetenv (C-Shell) or unset (Bourne Shell).
This does not affect the Apache version. Other CLI versions might be affected.
I lost a lot of time on this undocumented issue.
----
Server IP: 69.147.83.199
Probable Submitter: 83.137.242.22
----
Manual Page -- http://php.net/manual/en/fileinfo.configuration.php
Edit -- https://master.php.net/note/edit/112304
Del: integrated -- https://master.php.net/note/delete/112304/integrated
Del: useless -- https://master.php.net/note/delete/112304/useless
Del: bad code -- https://master.php.net/note/delete/112304/bad+code
Del: spam -- https://master.php.net/note/delete/112304/spam
Del: non-english -- https://master.php.net/note/delete/112304/non-english
Del: in docs -- https://master.php.net/note/delete/112304/in+docs
Del: other reasons-- https://master.php.net/note/delete/112304
Reject -- https://master.php.net/note/reject/112304
Search -- https://master.php.net/manage/user-notes.php