PHP 5.4 has a built-in Web server that is handy for native development because you no longer have to install Web server software like Apache, you can launch PHP's Web server directly from the command line.
The startup method is simple, enter the directory where the project is located at the command line, and then use the-s parameter to start the service, you need to specify the host address and port, and all the request information will be displayed in the console window as shown in:
Shortcut
To make the startup mode easier, you can create a shortcut to start the service, follow these steps:
1. Create a shortcut
2. Select the PHP executable program
3. Naming shortcuts
4. Modify the shortcut working directory
5. Change the size of the form
Original link: http://www.oschina.net/question/12_62984
"Editor's recommendation"
- Introduce you to 5 PHP security measures
- What new features PHP5.5 will bring
- PHP 5.4.5 and 5.3.15 release, security fix version
- Discussion on the development of community PHP business to improve efficiency and shorten development cycle
- See how PHP generates barcodes
The above describes the use of the PHP 54 built-in Web server on Windows, including the content of the Windows,web server, I hope to be interested in PHP tutorial friends helpful.