Windows Server 2008 Installation Wampserver method

Source: Internet
Author: User
Tags require visual studio

Windows Server 2008 Installation Wampserver method

WAMP official Website installation package download address http://www.wampserver.com/en/#download-wrapper

Download here is the latest version, note: The 2.5 version can not be in 2003 (32-bit, 64-bit system), XP run. Not compatible.

Old version can be used to run, download the address at the official website select sourceforge option download

Wamp Listen to the name also know, is the runtime Windwos system under the Apache, MySQL, PHP Web container services. Help the PHP Web program run.

After downloading a good installation package, be sure to install Visual C + + redistributable for Visual Studio 2012 or you will get an error during Setup: "This program cannot be started because the computer is missing msvcp110."

Download address such as the red screenshot of the location, which has a guide link.

The final installation is successful, such as the beginning we choose the default installation path in C disk, then in C:wamp under the wampmanager.conf with Notepad open, you can see our installed Apache, MYSQ, PHP version and configuration file path.

Apache configuration file in c:wampbinapacheapache2.4.9conf/httpd.conf

DocumentRoot represents the site's home directory

Server name indicates the bound domain name

With the service options here, we can restart Apache and MySQL services here.

or in cmd command-line mode, use the command net start Wampapache64 to start the service using net stop wampapache64 to stop the service. MySQL Empathy

If you encounter Apache or MySQL cannot start, we can find the red error log at the appropriate point in the Admin tool-Event Viewer-Application log. There are informational prompts that can be handled incorrectly. Similar to this kind of situation

By the way, the method of handling the error. ServerRoot refers to the Apache installation location. We can open the c:wampbinapacheapache2.4.9conf/httpd.conf, search the keyword to find the serverroot option.

To see that the path is really different from the actual Apache path, we can change it correctly and restart Apache again to succeed.

Note the small details: Every time we modify the Apache configuration file, we need to restart Apache to take effect. If we had modified some parameters without restarting the Apache service in effect, after we forget, when the server reboot, such as configuration modification of the problem, this time will find that Apache can not start, such as the change in the past is too long, disk snapshots of the time point did not cover to the time, it is more time-consuming to repair.

The following occurs when the URL is opened.

The reason is that the default home page is not set. or open httpd.conf, find the DirectoryIndex project, add the default first name you need, so we add index.php, and then restart Apache.

If the external network access appears forbidden after the installation, we will see if the http.conf is set to deny. Search for denied and found that the require all denied this configuration in the newly installed configuration, which means that all requests will be rejected. Since it is Apache version 2.4, it needs to be modified to require all granted to restart the Web service.

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

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.