Filename Extensions
If you are seeking information about file extensions, then you are in the right place at right time.

Details of extension .php

2 extension(s) and 0 alias(es) in our database

Below, you can find answers to the following questions:

  • What is the .php file?
  • Which program can create the .php file?
  • Where can you find a description of the .php format?
  • What can convert .php files to a different format?
  • Which MIME-type is associated with the .php extension?
PHP Script .php file icon

PHP Script

PHP file is a PHP Script. PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
Category: Development files
Program name: -
Mime-type: application/x-httpd-php
Magic bytes (HEX): -
Magic string (ASCII): -
php2, php3, php4, php5, phps, pht, phtm, phtml
Related extensions:
Active Server Page
Hypertext Markup Language Document
Perl Script
Cascading Style Sheets
Python Script
JSP Markup Language
JRun Server Application
Multipurpose Internet Mail Extension HTML
ColdFusion Markup Language
Callisto PhotoParade Slideshow .php file icon

Callisto PhotoParade Slideshow

PHP file is a Callisto PhotoParade Slideshow.
Detailed description not available
Category: Graphic files
Application: XnView
Program name: -
Mime-type: application/octet-stream
Magic bytes (HEX): -
Magic string (ASCII): -
Related extensions:

Other types of files may also use the .php file extension. If you have helpful information about .php extension, write to us!

Is it possible that the filename extension is misspelled?

We found the following similar extensions in our database:

C++ Header File
FreePascal Source Code
Portable Media Player Video
PGP Security Signature/Key
HP Graphic Language Document
Lighthouse Organizer Data
Commodore 64 Pixel Perfect Bitmap
Adobe Premiere Meta-Plugin

The .php filename extension is often given incorrectly!

According to the searches on our site, these misspellings were the most common in the past year:

hpp (1), pup (1), pph (1), pnp (1), pho (1), ph (1), pbp (1), lhp (1), pyp (1), ptp (1), pp (1), pmp (1), phl (1), pgp (1), ohp (1)

Can't open a .php file?

If you want to open a .php file on your computer, you just need to have the appropriate program installed. If the .php association isn't set correctly, you may receive the following error message:

Windows can't open this file:

File: example.php

To open this file, Windows needs to know what program you want to use to open it. Windows can go online to look it up automatically, or you can manually select from a list of programs that are installed on your computer.

To change file associations:

  • Right-click a file with the extension whose association you want to change, and then click Open With.
  • In the Open With dialog box, click the program whith which you want the file to open, or click Browse to locate the program that you want.
  • Select the Always use the selected program to open this kind of file check box.

Supported operating systems

Windows Server 2003/2008/2012/2016, Windows 7, Windows 8, Windows 10, Linux, FreeBSD, NetBSD, OpenBSD, Mac OS X, iOS, Android

Rate this page

4 / 5 based on 23 user ratings.