Using PHP 5.4 built-in web server on Windows_PHP tutorial

WBOY
Release: 2016-07-20 10:58:40
Original
762 people have browsed it

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 follows As shown in the picture:


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445666.htmlTechArticlePHP 5.4 has a built-in web server, which is very convenient for local development because you no longer need to install something like Apache. Web server software like this, you can start it directly from the command line...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template