May 11, 2021 PHP
How do I open a php file?
Before we answer this question, we need to figure out what a PHP file is.
PHP is a server-side scripting language with a file suffix called .php, as follows:
Different from html and xml files, PHP files cannot be opened directly from a browser, but require a PHP operating environment to access and open. O f course, it's simpler if you just want to edit the PHP file instead of running it.
Method 1: Open it with a note book
Right-click on the php file, in the open mode select open with note book, you can see the code of the file.
Method 2: Open with Dramweaver
Dreamweaver is a web editor, a popular website development tool that you can open by dragging php files in
Open Mode 3: Open with the Notepad tool
This is also the code editor, just select the file to open
Open Mode 4: SublimeText tool opens
As with the above method, just select the file to open
If you want to run php files, you need to configure php environment, need to install xampp and other integrated software, specific can refer to: php installation