.php

What is a .php file?

A server-side scripting language widely used for web development.

Use caution
Type Code
By Rasmus Lerdorf
MIME application/x-httpd-php

Drop any file to identify it

We read file headers, not extensions. Nothing gets uploaded.

What is it

A server-side scripting language widely used for web development. PHP powers WordPress, Laravel, Drupal, and a massive portion of the web. PHP files are executed on a web server and produce HTML output for browsers.

Technical details
Full Name
PHP Script
MIME Type
application/x-httpd-php
Developer
Rasmus Lerdorf
Magic Bytes
N/A
Safety
.php requires caution. PHP files execute server-side code. Only run on trusted servers.
What opens it
Any text editor
FREE All
VS Code
FREE All
PhpStorm
Subscription All
Related formats