Home>Article>Backend Development> What file is php? how to open? Four ways to open files in php format (picture)
Methods to open php format files: 1. Use Notepad to open; 2. Use Dreamweaver to open; 3. Use Notepad++ tool to open; 4. Use SublimeText tool to open.
Related recommendations:《PHP File Operation Functions (Special Topic)》
How to open php file format?To figure out how to open a php file,First let’s look at whatphp 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 to 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 websitephp development tools
If you want to run the.php file, you need a php environment. You can go to the php Chinese website QQ group 374224296 to download the php environment building tool software (PHPToolClient) and install it. Simply put the file into the root directory and open it with a browser!
The above is a tutorial on how to open PHP files. These four are common methods for opening PHP format files. I hope it can help you!