Search

Servers & Services > Apache

The Apache HTTP Server is one of the most widely used web servers in the world. In order to provide you with an optimal development environment that comes as close as possible to the requirements of most providers, MAMP PRO also offers this web server.

MAMP PRO - Servers & Services - Apache

In the upper right corner of this screen, you can see which version of the Apache web server is being used and which ports are being used for the http and https protocols.

In addition to the general settings available on this screen, you can also configure more specific options for each host (Apache tab).

  • Apache server is included in GroupStart (because at least one host is using Apache)
    This checkbox is selected if at least one host is running the Apache web server.

  • Server

    • About Clicking this button will open your default browser and display a page with lots of information about the instance of the Apache web server you are running. This button is only active when the Apache web server is started.

    • Status
      Clicking this button will open your default browser and display a page with status information about the instance of the Apache web server you are running. This button is only active when the Apache web server is started.

  • Apache Modules
    The Apache web server installed by MAMP PRO comes with many modules preinstalled. The web server modules can be enabled or disabled according to your needs. Module Description provides information about the features and functions of the selected module.

    Examples: To enable the PHP scripting language you need to enable “php_module”, to use Python you need “mod_wsgi module”, to use Perl you need “perl_module”. To switch to CGI mode and use multiple PHP versions, you need to enable “cgi_module”.

    Note: Make sure that when you enable a module, you also enable all dependent modules or do not select competing modules.

  • Apache log file path.
    The path to your Apache log file. This log file is located at “/Applications/MAMP PRO/logs/apache_error.log”.

Right-clicking on the “Apache” entry in the sidebar will bring up a context menu with several options.

  • If Apache is running

    • Restart server
      This option allows you to restart the Apache web server individually.

    • Show httpd.conf…** / Show httpd-ssl.conf….
      Calling this option will display the Apache configuration file (httpd(-ssl).conf) used for http(s) connections currently used by the running server instances. It is displayed in read-only mode. If you want to make changes, you must edit the template.

  • If Apache is not running

    • Force quit server
      If Apache is running but MAMP PRO is unable to detect the correct status, the application may not be able to (re)start or stop the server instances. Calling this function will help MAMP PRO regain control of Apache.