application/x-php
PHP-Skript
| Beschreibung | PHP-Skript |
|---|---|
| Dateiendungen | .php, .php3, .php4, .php5, .phps |
| Basiert auf | text/plain |
| Signatur (Magic Bytes) | 3C 3F 70 68 70 (<?php) |
Häufige Fragen
Was ist der MIME-Typ application/x-php?
application/x-php bezeichnet „PHP-Skript“.
Welche Dateiendung hat application/x-php?
Dateien vom Typ application/x-php enden üblicherweise auf .php, .php3, .php4, .php5 und .phps.
Wie liefert ein Webserver application/x-php korrekt aus?
Mit dem Header Content-Type: application/x-php. In nginx: types { application/x-php php php3 php4 php5; }; in Apache: AddType application/x-php .php .php3 .php4 .php5.