PHP environment Configuration-download Apache server for Windows from Apache official website

Source: Internet
Author: User
Tags php and mysql server website
Because the individual has the tendency to force, download the software are like to download from the official website, groping for a long time finally feel how to download the Apache official website version of the Apache server, and now share to everyone.

Go to Apache server website http://httpd.apache.org/, here we download stable version of

httpd 2.2.29 For example, click Download.

Due to the official website revision, the previous way may be downloaded in five ways, in order not to waste everyone's time, hereby amend 2015-01-24\

The first step is still click Download

Click Link files for 3 Microsoft Windows

The Apache HTTP Server Project itself does not provide binary releases of Softwar

E, only source code. Individual committers may provide binary packages as a con

Venience, but it's not a release deliverable.

If you cannot compile the Apache HTTP Server yourself, you can obtain a binary p

Ackage from numerous binary distributions available on the Internet.

Popular options for deploying Apache httpd, and, optionally, PHP and MySQL, on

Microsoft Windows, include:

Apachehaus

Apache Lounge

BitNami WAMP Stack

Wampserver

Xampp

The general meaning is that Apache itself does not provide the compiled installation package, only provide the source code, if you can not compile

You can choose from the following official recommended third party to provide the compiled website.

The latter two are the famous Wamp and XAMPP integrated environment, if only want to download Apache can choose the top three

website, here is our first Apachehaus example.

After opening Apachehaus you will find a variety of Windows versions on this website, you can choose

Version of the download.

Click the icon in the red box to start the download, x86 is 32-bit, x64 is 64-bit, according to their own operating system selected

Select Download

After decompression is a compressed package, move him to the place you want to place.

Under the command line into the bin directory below Apache, enter

Httpd-k Install

Install Apache as a Windows backend service.

Use Apachemonitor to launch your Apache.

The Apache monitor is a desktop tray application This allows you to monitor the

Existence of a running Apache service and easily start, stop and restart Apache. T

o use it just double click on the ApacheMonitor.exe in the \apache24\bin folder. I

f you want it-to-start automatically for if you have log into the computer, just

Drag a copy into the Startup folder in Window ' s Start Menu.

For more information, refer to the accompanying instructions 10 document readme_first.html.

Make a brief summary of some of the problems encountered by everyone

1, because Apache is listening on the default 80 port, if your computer IIS is the boot state, and also used 80-terminal

Port, Apache will not start normally, you need to stop IIS, and Thunderbolt may also use port 80, so Also

Turn off the Thunderbolt. To see if Port 80 is occupied, enter it at the command line:

Netstat-aon|findstr "80"

If you see a result that indicates that port 80 is already in use, you need to close the software first, or modify the Apache default

Listening ports are recognized

Open conf/httpd.conf Search for "Listen 80" in the Apache directory

Modified to listen 8088

Save and then restart Apache

2. Httpd-k install enter this command to see if the service is successfully installed

Start-up run-->services.msc--> OK

If you can see the Apache Word in the service list after opening, the service installation is successful, you can click on the left side directly.

Start button to start the service

3, the service can not be installed properly, first determine whether the software 32-bit and 64-bit and their own system matching

Second, see if the computer has installed software corresponding to the running package, for example, you download the VC9 version, then you need to first Ann

Installs Microsoft Visual C + + redistributable, the same VC11 version you need to install Microsoft

Visual C + + Update 4 Redistributable Package (X86 & x64)

At the bottom of the Apachehaus website are the corresponding visual Studio redistributable packages under

Download link

The above describes the PHP environment configuration-from the Apache official website to download the Windows Apache server, including aspects of the content, I hope to be interested in the PHP tutorial friends helpful.

  • 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.