[MacPorts] howto/Apache2 modified

MacPorts Wiki noreply at macports.org
Wed Feb 8 16:31:09 UTC 2023


Page "howto/Apache2" was changed by Gnarlodious
Diff URL: <https://trac.macports.org/wiki/howto/Apache2?action=diff&version=22>
Revision 22
Comment: Installer CLI options
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/Apache2
=========================================================================
--- howto/Apache2 (version: 21)
+++ howto/Apache2 (version: 22)
@@ -75,6 +75,9 @@
 {{{
 $ sudo port install apache2
 }}}
+
+== Installation options ==
+By default the Apache 'prefork' MPM is compiled-in. You can list compiled-in modules with command {{{httpd -l}}}. If you require the 'worker' or 'event' MPM, use option {{{ +workermpm}}} or {{{ +eventmpm}}} appended to your install command. If you inadvertently installed the default Apache, simply running the installer command with the optional suffix will overwrite the existing Apache.
 
 A sample configuration file is provided in `/opt/local/etc/apache2/original/httpd.conf`. Don't edit this file; leave it as is so you can refer to the defaults later. The first time you install apache2, the sample configuration file will be copied to `/opt/local/etc/apache2/httpd.conf` for you. You can edit this file as desired. When you later upgrade apache2 to a newer version, MacPorts will upgrade the sample configuration file but will not modify your `httpd.conf`, so be sure to manually compare your `httpd.conf` with the new sample configuration file and bring over any relevant changes. You should also keep backup copies of your `httpd.conf` in a safe place.
 
-------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 macOS

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 admin at macports.org.


More information about the macports-changes mailing list