application/x-php
PHP-script
| Beschrijving | PHP-script |
|---|---|
| Bestandsextensies | .php, .php3, .php4, .php5, .phps |
| Gebaseerd op | text/plain |
| Signatuur (magic bytes) | 3C 3F 70 68 70 (<?php) |
Veelgestelde vragen
Wat is het MIME-type application/x-php?
application/x-php staat voor „PHP-script”.
Welke bestandsextensie heeft application/x-php?
Bestanden van het type application/x-php eindigen meestal op .php, .php3, .php4, .php5 en .phps.
Hoe levert een webserver application/x-php correct uit?
Met de 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.