Home >Backend Development >PHP Tutorial >Using PHP 54 built-in web server on Windows gwx web windows windows 2008 web windows 2003 we
PHP 5.4 has a built-in web server, which is very convenient for local development, because you no longer need to install web server software like Apache. You can start the PHP web server directly in the command line.
The startup method is very simple. Enter the directory where the project is located on the command line, and then use the -S parameter to start the service. You need to specify the host address and port. All request information will be displayed in the console window, as shown in the figure below:
Shortcut
If you want to make the startup method easier, you can create a shortcut to start the service. Please follow the steps below:
1. Create a shortcut
2. Select PHP executable Program
3. Name the shortcut
4. Modify the shortcut working directory
5. Change the window size
Original link: http://www.oschina .net/question/12_62984
[Editor’s recommendation]
The above introduces the use of PHP 54 built-in Web server on Windows, including Windows and Web server content. I hope it will be helpful to friends who are interested in PHP tutorials.