Wampserver (Windows, Apache, MySQL, PHP)

Source: Internet
Author: User

Wampserver (windows/apche/mysql/php) Integrated environment

Online Status: Can be accessed within the area network

Offline Status: Local devices can access

From the proposed Web site root directory:

Apache--httpd.conf--Search #documentroot #<directory

Note: httpd.conf points to ' D:\wamp\bin\apache\apache2.4.9\conf\httpd.conf '

Modify Wamp Default file path

Wamp--Wampmanager.ini--Search Menu.left--www directory--Modify

--WAMPMANAGER.TPL--Search Menu.left--${w_wwwdirectory}--Modify

Multi-site Configuration:

1. Find extension Files

Wamp--bin--Apache--apache2.4.9--conf--extra--httpd-vhosts.conf--Copy <virtualhost *:80>......</virtua Lhost>

ServerAdmin Setting the administrator email address

DocumentRoot URL Project Root Path

ServerName host name/domain name

Errorlog error Log

Customlog Daily Diary

--Modify Configuration

2. Configure Apache

Apache--httpd.conf--Search httpd-vhost Find #Include conf/extra/httpd-vhosts.conf--Remove the "#" from the front, i.e. remove the comment

3. Modify allow other address access

Apache--httpd.conf--Find the URL root that you defined earlier--change ' Deny from all ' (block external access) to ' Allow from all ', add ' # ' before ' Allow from 127.0.0.1 '

4. Modify the Computer Configuration

C--Windows--System32--drivers--etc--hosts--add site

Self-drawn port number:

Apache--httpd.conf--Search 80, add ' Listen 8080 ' after ' Listen 12.34.56.78:80 ' and change ' #ServerName localhost:80 ' to ' #ServerName localhost:8080 '

Wampserver (Windows, Apache, MySQL, PHP)

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.