note 79166 added to function.mime-content-type

From: Date: Wed, 14 Nov 2007 06:58:07 +0000
Subject: note 79166 added to function.mime-content-type
Groups: php.notes 
Request: Send a blank email to php-notes+get-132251@lists.php.net to get a copy of this message
Since I enabled the mime_magic extension on my IIS, I also got the error message "invalid magic file, disabled" in my phpinfo. After I add these lines to my php.ini, the message disappeared and it works great! mime_magic.debug = Off mime_magic.magicfile ="D:\PHP5\extras\magic.mime" mime_magic.debug is by default off but without this line it fails. I'm using PHP 5.2.5. ---- Server IP: 69.147.83.197 Probable Submitter: 196.192.40.12 (proxied: 196.192.40.12) ---- Manual Page -- http://www.php.net/manual/en/function.mime-content-type.php Edit -- https://master.php.net/note/edit/79166 Del: integrated -- https://master.php.net/note/delete/79166/integrated Del: useless -- https://master.php.net/note/delete/79166/useless Del: bad code -- https://master.php.net/note/delete/79166/bad+code Del: spam -- https://master.php.net/note/delete/79166/spam Del: non-english -- https://master.php.net/note/delete/79166/non-english Del: in docs -- https://master.php.net/note/delete/79166/in+docs Del: other reasons-- https://master.php.net/note/delete/79166 Reject -- https://master.php.net/note/reject/79166 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132251) next »