Home >Backend Development >PHP Problem >What format is .php and how to open it?
How to open the php file format? To understand how to open a php file, First we look at what php file is, PHP is a web script, and the file suffix is .php, as shown below:
But unlike the html xml tag language, which can be opened directly through the browser, php files require a PHP running environment to access and open, If you just edit the PHP file, you only need to use:
php file opening method one:Open with notepad
Right-click the .php file, Select Notepad to open, and you can see the file code!
php file opening method two:Open with Dreamweaver
Dreamweaver is a web page editor, a popular website development tool, you can directly You can open the php file by dragging the file in.
php file opening method three:Notepad tool open
is also a code editor, select the file to open Just do it
php file opening method four:SublimeText tool to open
Same as the above method, just select the file to open
In addition to Notepad, other code editor tools can be downloaded from the php Chinese website php development tools
If you want to run the .php file, you need a php environment. You can download the PHP environment building tool software (PHPToolClient) to install it. Simply put the file into the root directory and open it with a browser!
The above is the detailed content of What format is .php and how to open it?. For more information, please follow other related articles on the PHP Chinese website!