PHP files can be opened in the following four ways: 1. Notepad; 2. Open through Dreamweaver; 3. Open with Notepad tool; 4. Open with SublimeText tool.
How to open a php file? To figure out how to open a php file, first let’s look at what a php file is. PHP is a web script, and the file suffix is Named .php. But unlike the html xml tag language, which can be opened directly in the browser, the php file requires a PHP running environment to access and open it. If you only edit the PHP file, you only need to use:
Method 1 :Notepad
Right-click the .php file, select Notepad to open, and you can see the file code!
Method 2: Open Dreamweaver
Dreamweaver is a web page editor, a popular website development tool. You can open the php file by dragging the file directly into it
Method 3: Open with Notepad tool
is also a code editor, just select the file to open
Method 4: Open with SublimeText tool
Same as the above method, just select the file to open
The above is the detailed content of How to open php document. For more information, please follow other related articles on the PHP Chinese website!