PHP Built-in server

Source: Internet
Author: User

PHP in the installation of the built-in server features, we use the process if only debugging, you can choose to start the PHP built-in server, the following is the Windows PHP built-in server startup steps:

1. Add PHP D:\phpStudy\php54 (that is, the directory where Php.exe resides) to the environment variable path.


2. Open the DOS command window input (where D:\PHPSTUDY\WWW\AAA is the project directory)
Php-s localhost:80-t D:\PHPSTUDY\WWW\AAA


3. The service is open successfully (the window cannot be closed during operation)
C:\users\dell>php-s localhost:80-t D:\PHPSTUDY\WWW\AAA
PHP 5.4.26 Development Server started at Wed 26 11:45:20 2015
Listening on http://localhost:80
Document Root is D:\phpStudy\WWW\aaa
Press Ctrl-c to quit.


4, using localhost access can

PHP Built-in server

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.