What file is php? PHP is the abbreviation of Hypertext Preprocessor. Let’s take a look at how to open PHP files.
PHP is an HTML embedded language. It is a scripting language embedded in HTML documents that is executed on the server side. The style of the language is similar to C language;
At the same time, PHP, like ASP and JAVA, is a language commonly used for Web programming. It can run in most operating system environments such as Windows and Linux. It is often used on the Linux platform in conjunction with the open source free Web service Apache and database Mysql. (LAMP for short), has the highest cost performance and is known as the "golden combination of Web architecture".
How to open php file?
A PHP file is actually a text file. PHP files can be opened by any text editing tool, such as Notepad, Wordpad, Notepad++, phpedit, UltraEdit, Dreamwere, VIM editor, etc. that come with Windows.
First find a php file, as shown in the picture below.
1. Open with Notepad
(1) Right-click the php file and select "Open (o)" in the pop-up list, as shown in the figure below.
(2) Select "Notepad" from the options of opening method, as shown in the figure below
(3) Then you can see the php code in Notepad, as shown in the figure below.
2. Open with Notepad++
(1) Mouse over the php file and select "Notepad++" in the list that appears, as shown in the figure below.
(2) Then you can see the php code opened in Notepad++ as shown in the figure below. You can see that the php code displays different colors at this time. This is the highlight that comes with Notepad++.
3. Open with UltraEdit
Open it with UltraEdit, and you can see that the highlighting of the code is different. Different editors display different highlighting, and you can adjust it yourself.
The above is a detailed explanation of php files and how to open php files. Interested partners can refer to the tutorial to open php files.