Changes between Version 21 and Version 22 of howto/Apache2


Ignore:
Timestamp:
Feb 8, 2023, 4:31:08 PM (22 months ago)
Author:
Gnarlodious
Comment:

Installer CLI options

Legend:

Unmodified
Added
Removed
Modified
  • howto/Apache2

    v21 v22  
    7676$ sudo port install apache2
    7777}}}
     78
     79== Installation options ==
     80By 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.
    7881
    7982A 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.