How to use USB webserver to quickly create a website test environment on the local machine

Source: Internet
Author: User
I remember Atang introduced phpnow to set up a local website test environment a long time ago. It is quite convenient, but the trouble is that you often forget to stop the Apache and MySQL services after testing, both the start and close operations are manual. Today, we will introduce a set of tools that can also be taken with the quick stand tool, usbwebserv, which has many built-in website host kits and is suitable for setting up local testing websites.

Usbwebserv stand-up tool archive:

Http://www.usbwebserver.net/en/

Software: English

Support System: full range of Windows

Software Download: Official download point

Included: php5.2.13 httpd2.2.15 phpmya dmin3.3.1-RC1 mysql5.1.44

Introduction to usbwebserv:

It can be directly placed on USB or any location. Download and decompress the package. Do not include Chinese characters in the path. Otherwise, the Apach servo may fail to start. If you want to use it, directly execute USB Webserver

Check the source image (large image)

Click localhost to check whether the preset homepage is normal. If a red alarm is reported when startup fails, Apach and MySQL are automatically started after startup. If both of them are marked with a green check, it indicates no problem. It may be that the path of the software contains Chinese characters or that other software uses the same port. You must change the port first and continue.

When you enable localhost, this page indicates that you are correct.

Check the source image (large image)

You can click set to re-set the Apach and MySQL connection ports, and press save to start Apach or MySQL respectively. When other software uses the port to be started.

Change to the website file you want to test. The default website root directory is the root folder E which can delete files.

Check the source image (large image)

No problem. Try a WordPress installation immediately. The speed is also quite smooth. It is considered as a stand-alone tool for building a local test. When you close the software, the Apach and MySQL services will also be closed, you do not need to manually disable it to prevent the background execution from occupying system resources.

Check the source image (large image)

All information after erection is as follows:

SQL account: Root Password: usbw

SQL HOST: Enter localhost.

PhpMyAdmin address: http: // localhost/phpmyadminorhttp: // ip/phpMyAdmin

Website root directory: Root

Website URL: http: // localhostorhttp: // ip

※You can create a new database in phpMyAdmin.

Article Reference: http://steachs.com/archives/1797

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.