application/x-php
script PHP
| Descrição | script PHP |
|---|---|
| Extensões | .php, .php3, .php4, .php5, .phps |
| Baseado em | text/plain |
| Assinatura (magic bytes) | 3C 3F 70 68 70 (<?php) |
Perguntas frequentes
O que é o tipo MIME application/x-php?
application/x-php designa “script PHP”.
Qual extensão application/x-php usa?
Arquivos do tipo application/x-php normalmente terminam em .php, .php3, .php4, .php5 e .phps.
Como um servidor web entrega application/x-php corretamente?
Com o cabeçalho Content-Type: application/x-php. No nginx: types { application/x-php php php3 php4 php5; }; no Apache: AddType application/x-php .php .php3 .php4 .php5.