Apache24安装说明

                                               Apache Lounge Distribution

                                                Apache 2.4.35 win64 VC15

Original Home: httpd.apache.org
Binary by: Steffen
Build with Visual Studio?2017 (VC15) x64
Mail: [email protected]
Home: www.apachelounge.com

Announcement & Dependencies: https://www.apachelounge.com/viewtopic.php?p=37348

Change Log: https://www.apachelounge.com/Changelog-2.4.html

Minimum system required

Windows 7 SP1
Windows 8 / 8.1
Windows 10
Windows Server 2019
Windows Server 2016
Windows Server 2008 R2 SP1
Windows Server 2012 / R2
Windows Vista SP2

Install

You must first install the Visual C++ Redistributable for Visual Studio 2017 x64.
Download and Install, if you have not done so already, see:

https://www.apachelounge.com/download/

Unzip the Apache24 folder to c:/Apache24 (that is the ServerRoot in the config).
The default folder for your your webpages is DocumentRoot “c:/Apache24/htdocs”

When you unzip to an other location:
change Define SRVROOT “c:/Apache24” in httpd.conf, for example to “E:/Apache24”

Run and test

Open a command prompt window and cd to the c:\Apache24\bin folder.

To Start Apache in the command prompt type:

>httpd.exe

Press Enter. If there are any errors it will tell you.
Warnings will not stop Apache from working, they do need to be addressed none the less.
If there are no errors the cursor will sit and blink on the next line.

You can test your installation by opening up your Browser and typing in the address:

 http://localhost

You can shut down Apache by pressing Ctrl+C (It may take a few seconds)

To install as a service. Open command prompt as Administrator and type:

>httpd.exe -k install

You can start/stop the service with the command:

services.msc

ApacheMonitor:

Double click ApacheMonitor.exe, or put it in your Startup folder.

To see all Command line options:

>http -h

Upgrading

When you have questions or want more info, post in the forum at www.apachelounge.com or mail me.

Enjoy,

Steffen

Legal note:

This distribution includes cryptographic software. The country in
which you are currently may have restrictions on the import,
possession, and use, and/or re-export to another country, of
encryption software. BEFORE using any encryption software, please
check the country’s laws, regulations and policies concerning the
import, possession, or use, and re-export of encryption software, to
see if this is permitted.

The U.S. Government Department of Commerce, Bureau of Industry and
Security (BIS), has classified this software as Export Commodity
Control Number (ECCN) 5D002.C.1, which includes information security
software using or performing cryptographic functions with asymmetric
algorithms. The form and manner of this Apache Software Foundation
distribution makes it eligible for export under the License Exception
ENC Technology Software Unrestricted (TSU) exception (see the BIS
Export Administration Regulations, Section 740.13) for both object
code and source code.

The authors of the represented software packages and me, are not
liable for any violations you make. Be careful, it is your responsibility.

猜你喜欢

转载自blog.csdn.net/ly_6118/article/details/82907244
今日推荐