Use PHP 5.4 built-in Web servers on Windows machines

Source: Internet
Author: User
Tags php web server

PHP 5.4 has a built-in Web server, which is very convenient for local development. Because you do not need to install Web server software similar to Apache, you can directly start the PHP Web server in the command line.

The startup method is very simple. Enter the project directory in the command line and use the-S parameter to start the service. You need to specify the host address and port, all request information is displayed in the console window, as shown in:

Shortcut

To make the startup method simpler, you can create a shortcut to start the service. follow these steps:

1. Create a shortcut

2. Select the PHP executable program

3. Name the shortcut

4. Modify the shortcut working directory

5. Change the form size

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.