Home > Backend Development > PHP Tutorial > Using PHP 54 built-in web server on Windows gwx web windows windows 2008 web windows 2003 we

Using PHP 54 built-in web server on Windows gwx web windows windows 2008 web windows 2003 we

WBOY
Release: 2016-07-29 08:50:13
Original
1225 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 shown in the figure below:

windows7 web服务器,搜索web和windows,windows web 浏览器,windows web server,加载c windows web,c windows web,web和windows,win10 web和windows,windows update web,windows10 搜索web,web和windows是什么,搜素web和windows,gwx web windows,windows 2008 web,windows 2003 we

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

windows7 web服务器,搜索web和windows,windows web 浏览器,windows web server,加载c windows web,c windows web,web和windows,win10 web和windows,windows update web,windows10 搜索web,web和windows是什么,搜素web和windows,gwx web windows,windows 2008 web,windows 2003 we

2. Select PHP executable Program

windows7 web服务器,搜索web和windows,windows web 浏览器,windows web server,加载c windows web,c windows web,web和windows,win10 web和windows,windows update web,windows10 搜索web,web和windows是什么,搜素web和windows,gwx web windows,windows 2008 web,windows 2003 we

3. Name the shortcut

windows7 web服务器,搜索web和windows,windows web 浏览器,windows web server,加载c windows web,c windows web,web和windows,win10 web和windows,windows update web,windows10 搜索web,web和windows是什么,搜素web和windows,gwx web windows,windows 2008 web,windows 2003 we

4. Modify the shortcut working directory

windows7 web服务器,搜索web和windows,windows web 浏览器,windows web server,加载c windows web,c windows web,web和windows,win10 web和windows,windows update web,windows10 搜索web,web和windows是什么,搜素web和windows,gwx web windows,windows 2008 web,windows 2003 we

5. Change the window size

windows7 web服务器,搜索web和windows,windows web 浏览器,windows web server,加载c windows web,c windows web,web和windows,win10 web和windows,windows update web,windows10 搜索web,web和windows是什么,搜素web和windows,gwx web windows,windows 2008 web,windows 2003 we

Original link: http://www.oschina .net/question/12_62984

[Editor’s recommendation]

  1. Introducing 5 PHP security measures for you
  2. What new features will PHP5.5 bring?
  3. PHP 5.4.5 and 5.3.15 are released, security fix versions
  4. Talk about community PHP business development to improve efficiency and shorten development cycle
  5. Look at how PHP generates barcodes

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.

Related labels:
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