application/x-php

script PHP

Descriptionscript PHP
Extensions.php, .php3, .php4, .php5, .phps
Basé surtext/plain
Signature (magic bytes)3C 3F 70 68 70 (<?php)

Questions fréquentes

Qu’est-ce que le type MIME application/x-php ?

application/x-php désigne « script PHP ».

Quelle extension utilise application/x-php ?

Les fichiers de type application/x-php se terminent généralement par .php, .php3, .php4, .php5 et .phps.

Comment un serveur web sert-il correctement application/x-php ?

Avec l’en-tête Content-Type: application/x-php. Dans nginx : types { application/x-php php php3 php4 php5; } ; dans Apache : AddType application/x-php .php .php3 .php4 .php5.

Entrées voisines