mime-db icon indicating copy to clipboard operation
mime-db copied to clipboard

Add custom type text/x-php

Open cjiso1117 opened this issue 1 year ago • 4 comments

Add support for text/x-php since file command use text/x-php in debian system

ref: https://cweiske.de/tagebuch/php-mimetype.htm#linux

cjiso1117 avatar Jan 21 '25 02:01 cjiso1117

is PR review stuck due to broken automation?

cjiso1117 avatar Feb 06 '25 08:02 cjiso1117

No I think it was stuck due to no one reviewing it. That said, if you look here you see application/x-httpd-php which is already in our data. That article is from 2011 and I am not sure it justifies adding this type.

wesleytodd avatar Mar 05 '25 15:03 wesleytodd

But file command returns text/x-php for most os in 2025, and some mimetype guessers depend on file command and system's mimetype database.

cjiso1117 avatar Mar 06 '25 08:03 cjiso1117

@wesleytodd I plan to land this PR by next week

UlisesGascon avatar Nov 25 '25 10:11 UlisesGascon