note 126202 added to function.mime-content-type

From: Date: Tue, 29 Jun 2021 09:02:50 +0000
Subject: note 126202 added to function.mime-content-type
Groups: php.notes 
Request: Send a blank email to php-notes+get-216557@lists.php.net to get a copy of this message
Is there any special package that needs to be upgraded to have HEIC and HEIF images detected as their proper mime type rather than application/octet-stream ? The whole internet is having difficulties answering this question for several months now. # php -r "print_r(mime_content_type('./image.heic')); echo PHP_EOL.PHP_EOL;" application/octet-stream ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 79.117.136.159) ---- Manual Page -- https://php.net/manual/en/function.mime-content-type.php Edit -- https://main.php.net/note/edit/126202 Del: integrated -- https://main.php.net/note/delete/126202/integrated Del: useless -- https://main.php.net/note/delete/126202/useless Del: bad code -- https://main.php.net/note/delete/126202/bad+code Del: spam -- https://main.php.net/note/delete/126202/spam Del: non-english -- https://main.php.net/note/delete/126202/non-english Del: in docs -- https://main.php.net/note/delete/126202/in+docs Del: other reasons-- https://main.php.net/note/delete/126202 Reject -- https://main.php.net/note/reject/126202 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#216557) next »