FileInfo

Languages

Overview

What is a PHP file? A PHP file is a webpage that contains PHP (Hypertext Preprocessor) code. It may include PHP functions that can process online forms, get the date and time, or access information from a database, such as a MySQL database.

More Information PHP file open in Adobe Dreamweaver 2021 PHP files are typically only used by web developers who are creating or modifying them when developing webpages with extended functionality. However, average users may download PHP files from a webpage using a web browser, such as Google Chrome or Mozilla Firefox. The PHP code within the webpage is processed (parsed) by a PHP engine on the web server, which dynamically generates HTML . The HTML, which contains the webpage content, is then sent to the user's web browser. Therefore, the user never sees the actual PHP code contained in the webpage, even when viewing the page source.

Popularity4.1/5

647 votes

Quick AppOpen with
VerifiedVerified by FileInfo.com The FileInfo.com team has independently researched the PHP Source Code file format and Mac, Windows, Linux, Android, and iOS apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified. If you would like to suggest any additions or updates to this page, please let us know .

Adobe Dreamweaver 2021 Icon

Breadcrumbs

DeveloperThe PHP Group
Popularity4.1 | 647 Votes

Previous / Next

In-Depth

.PHP File Extension

PHP Source Code File

DeveloperThe PHP Group
Popularity
4.1  |  647 Votes
 

NEW: Open your .PHP file online with File Helper . View Online

What is a PHP file?

A PHP file is a webpage that contains PHP (Hypertext Preprocessor) code. It may include PHP functions that can process online forms, get the date and time, or access information from a database, such as a MySQL database.

More Information

PHP file open in Adobe Dreamweaver 2021

PHP files are typically only used by web developers who are creating or modifying them when developing webpages with extended functionality. However, average users may download PHP files from a webpage using a web browser, such as Google Chrome or Mozilla Firefox.

The PHP code within the webpage is processed (parsed) by a PHP engine on the web server, which dynamically generates HTML . The HTML, which contains the webpage content, is then sent to the user's web browser. Therefore, the user never sees the actual PHP code contained in the webpage, even when viewing the page source.

Common PHP Filenames

index.php - Often the default file to be loaded when a client Web browser requests a directory from a PHP-enabled Web server. For example, if http://sampledomain.com/ is requested, http://sampledomain.com/index.php is loaded.

How to open a PHP file

You can open and edit PHP files with various source code editors and PHP-dedicated applications with IDEs . Examples of these programs include Eclipse PHP Development Tools (Windows and macOS), MPSoftware phpDesigner (Windows), Adobe Dreamweaver (Windows and macOS), Zend Studio (multiplatform), and Microsoft Visual Studio Code (multiplatform).

Since PHP files are saved in plain text, you can also open them with text editors, including Microsoft Notepad (bundled with Windows) and Apple TextEdit (bundled with macOS).

Programs that open PHP files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

File Viewer Plus

Get it from Microsoft

Free +

Adobe Dreamweaver 2021

Free Trial

Eclipse PHP Development Tools

Free

Zend Studio

Free Trial

MPSoftware phpDesigner

Free Trial

ES-Computing EditPlus

Free Trial

Blumentals WeBuilder

Free Trial

Microsoft Visual Studio Code

Free

Notepad++

Free

Microsoft Notepad

Included with OS

Apache Web Server

with PHP

Free

WampServer

Free

Any web browser

Mac

Adobe Dreamweaver 2021

Free Trial

Eclipse PHP Development Tools

Free

Zend Studio

Free Trial

MacroMates TextMate

Free

Bare Bones BBEdit

Free Trial

Microsoft Visual Studio Code

Free

Apple TextEdit

Included with OS

Apache Web Server

with PHP

Free

MAMP

Free Trial

Sublime Text

Free Trial

Any web browser

Linux

Eclipse PHP Development Tools

Free

Zend Studio

Free Trial

Microsoft Visual Studio Code

Free

Apache Web Server

with PHP

Free

Any web browser

Web

FileHelper.com

Free

iOS

Alexander Blach Textastic Code Editor

Paid

Firas Moussa phpwin

Free +

Android

File Viewer for Android

Free +

Category: Web Files

Updated: August 19, 2021

FAQ

What is a PHP file?
A PHP file is a webpage that contains PHP (Hypertext Preprocessor) code. It may include PHP functions that can process online forms, get the date and time, or access information from a database, such as a MySQL database.
How do I open a .php file?
You can open and edit PHP files with various source code editors and PHP-dedicated applications with IDEs. Examples of these programs include Eclipse PHP Development Tools (Windows and macOS), MPSoftware phpDesigner (Windows), Adobe Dreamweaver (Windows and macOS), Zend Studio (multiplatform), and Microsoft Visual Studio Code (multiplatform).