Home >Backend Development >PHP Tutorial >What file is php? how to open? Four ways to open files in php format (picture)

What file is php? how to open? Four ways to open files in php format (picture)

PHP中文网
PHP中文网Original
2017-06-02 13:18:28189444browse

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.

What file is php? how to open? Four ways to open files in php format (picture)

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 what php file is, PHP is a web script, and the file suffix is ​​.php, as shown below:

What file is php? how to open? Four ways to open files in php format (picture)

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 website php 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Some pitfalls in phpNext article:Some pitfalls in php

Related articles

See more