: This article mainly introduces HelloWorld, the first PHP program. if you are interested in the PHP Tutorial, refer to it. (1) According to my first two articles
BlogHow to Install Mac
XAMPP"Eclipse PHP development environment configuration". Configure the PHP development environment and server.
(2) switch the workspace, and you must switch the workspace for PHP developmentXAMPPDirectory of the server. Otherwise, the PHP program cannot be run ., AverageXAMPPThe default path of is as follows:
(3) Create a new PHP Project in Eclipse and a new PHP File in the Project. The implementation code is as follows:
(4) openXAMPP, Open inApacheWeb Server..
(4) right-click the blank space of the current file --> Run As --> PHP Web Appliction. to run the program, the effect is as follows: of course, you can copy the link to the browser, you can also see the same effect.
The above introduces the first PHP program "Hello World", which includes some content and hopes to help those who are interested in the PHP Tutorial.