[MacPorts] howto/Apache2 modified

MacPorts noreply at macports.org
Tue Jan 6 21:20:55 PST 2015


Page "howto/Apache2" was changed by ryandesign at macports.org
Diff URL: <https://trac.macports.org/wiki/howto/Apache2?action=diff&version=10>
Revision 10
Comment: Add About and Versions sections
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/Apache2
=========================================================================
--- howto/Apache2 (version: 9)
+++ howto/Apache2 (version: 10)
@@ -2,22 +2,33 @@
 
 [wiki:howto <- Back to the HOWTO section]
 
-This page describes the installation of the '''Apache2''' Web server under OSX (Yosemite 10.10.2) via MacPorts (version 2.3).   Date 28 December 2014 
+= About Apache = #about
 
-For information on integration '''Apache''' with '''MySQL''' and '''PHP''', see:''' [[howto/MAMP]]'''
+The Apache HTTP Server, commonly referred to as Apache, is the world's most-popular web server.
 
+For information on integrating Apache with MySQL and PHP, see [wiki:howto/MAMP MAMP].
+
+= Versions = #versions
+
+MacPorts includes the following versions of Apache:
+
+* '''apache2''': Apache HTTP Server v2.2.x. This is the recommended port to use.
+* '''apache24-devel''': Apache HTTP Server v2.4.x. This is intended for testing, and cannot be used to replace apache2 at this time. It has a different directory layout from apache2, so none of the other ports that use apache2 can use apache24-devel. it is expected that the contents of the apache24-devel port will eventually replace the contents of the apache2 port at which time the apache24-devel port will be retired.
+* '''apache''': Apache HTTP Server v1.3.x. This version reached [http://mail-archives.apache.org/mod_mbox/httpd-announce/201002.mbox/%3c20100203000334.GA19021@infiltrator.stdlib.net%3e end of life] in 2010 and is therefore not recommended.
+
+This page shows how to install and use the apache2 port. The instructions cannot be easily adapted to the other ports.
 
 = Step 1: '''Turn off Apple's "Personal Web Sharing"''' = #pws
 If you haven’t already done so, make sure you turn off Apple’s "Personal Web Sharing" so that the default Apache server is not running. While you can set things up so that both servers run on different ports (e.g., port 80 and port 8080), it’s not worth the hassle of maintaining two web server daemons. Just use the latest Apache from MacPorts and be done with it. 
 
-=== OS X 10.8 and older ===
+=== OS X 10.8 Mountain Lion and earlier ===
 Turn off Personal Web Sharing in the Sharing pane of System Preferences.
-=== Mavericks ===
+=== OS X 10.9 Mavericks ===
 Stop the web server from the command line:
 {{{
 $ sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
 }}}
-=== Yosemite ===
+=== OS X 10.10 Yosemite and later ===
 Yosemite no longer has Personal Web Sharing as an option. Although the Apache 2 web server is still supplied by Apple as part of the Yosemite distribution, there is no "easy" way to turn it on (or off). So, if you managed to turn it on, you already know how to turn it off!
 === OS X Server ===
 Launch Server Manager and turn off the web server.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/Apache2>
MacPorts <https://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'howto/Apache2' page.
If it was not you, please report to .


More information about the macports-changes mailing list