USB webserver quickly creates a website test environment on the local machine

Source: Internet
Author: User

A Tang introduced phpnow to set up a local website test environment a long time ago. It is still in use until now, because it is quite convenient, however, it is often difficult to forget to stop the apache and mysql services after testing. The startup and shutdown operations are completely manual, today, we will introduce a set of USB Webserver, which is also a tool that can be taken with us. It has built many necessary kits for website hosts and is suitable for setting up local testing websites.

USBWebserver stand station tool small file:

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

Software: English

Supported systems: Windows full range

Software Download: Official download point

Included kits: Php 5.2.13, Httpd 2.2.15, PhpMyAdmin 3.3.1-rc1, MySQL 5.1.44

Introduction to USB webserver:

After downloading and decompressing the package, you can directly place the package to USB or any location. It is best not to include Chinese characters in the path. Otherwise, Apache servo may fail to start. If you want to use the package directly, execute USB Webserver

 

After it is enabled, Apache and Mysql will be automatically started. If both are marked with green, it indicates no problem. Then you can click Localhost to check whether the preset homepage is normal. If a red warning is reported when the startup fails, it may be that the software path contains Chinese characters or other software uses the same port. You must change the port first.

 

When you enable localhost, this page indicates that you have succeeded.

 

If other software uses the port to be started, click Settings to reset the connection port of apache and mysql respectively. After modification, press Save, click to start Apache or Mysql separately. The default website root directory is in the root folder. You can delete the files and change them to the website file you want to test.

 

If you try to mount a Wordpress server, it's okay, and the speed is quite smooth. It feels lightweight. It's a site tool for building a local test, and when you close the software, the Apache and Mysql services are also disabled, so you do not need to manually close them. In this case, you do not need to forget to continue using system resources in the background.

 

All information after erection is as follows:

SQL account: root Password: usbw

SQL HOST: Enter "localhost ".

PhpMyadmin address: http: // localhost/phpMyadmin or http: // your IP/phpMyadmin

Website root directory: root

Website URL: http: // localhost or http: // your IP address

※You can create a new database in phpMyadmin.

Author: Atang

 

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.