mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Update CLI web server MIME type list for PHP 5.5.7 types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332127 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
825561668c
commit
df4a1f20d6
1 changed files with 16 additions and 7 deletions
|
@ -1634,13 +1634,22 @@ php >
|
|||
</para>
|
||||
|
||||
<para>
|
||||
Standard MIME types are returned for files with extensions: .css,
|
||||
.gif, .htm, .html, .jpe, .jpeg, .jpg, .js, .ogg, .ogv, .pdf,
|
||||
.png, .svg, .txt, and .webm.
|
||||
The .htm and .svg extensions are recognized from PHP 5.4.4
|
||||
onwards. The .ogg, .ogv, and .webm extensions are recognized from
|
||||
PHP 5.4.11 onwards. The .pdf extension is recognized from PHP
|
||||
5.5.5 onwards.
|
||||
Standard MIME types are returned for files with extensions: .3gp,
|
||||
.apk, .avi, .bmp, .css, .csv, .doc, .docx, .flac, .gif, .gz,
|
||||
.gzip, .htm, .html, .ics, .jpe, .jpeg, .jpg, .js, .kml, .kmz,
|
||||
.m4a, .mov, .mp3, .mp4, .mpeg, .mpg, .odp, .ods, .odt, .oga, .ogg,
|
||||
.ogv, .pdf, .pdf, .png, .pps, .pptx, .qt, .svg, .swf, .tar, .text,
|
||||
.tif, .txt, .wav, .webm, .wmv, .xls, .xlsx and .zip.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
MIME type support for .htm and .svg extensions was added in PHP
|
||||
5.4.4. The .ogg, .ogv, and .webm extensions were added in PHP
|
||||
5.4.11. The .pdf extension is recognized from PHP 5.5.5. The
|
||||
.3gp, .apk, .avi, .bmp, .csv, .doc, .docx, .flac, .gz, .gzip,
|
||||
.ics, .kml, .kmz, .m4a, .mp3, .mp4, .mpg, .mpeg, .mov, .odp, .ods,
|
||||
.odt, .oga, .pdf, .pptx, .pps, .qt, .swf, .tar, .text, .tif, .wav,
|
||||
.wmv, .xls, .xlsx and .zip extensions were added in PHP 5.5.7.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue