Apache in my MAMP starts then suddenly stops please help
Here is the apache.log_error
[Fri Jan 31 17:31:53 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:31:54 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:31:54 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:31:54 2020] [notice] Digest: done
[Fri Jan 31 17:32:12 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:32:13 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:32:13 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:32:13 2020] [notice] Digest: done
[Fri Jan 31 17:33:02 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:33:03 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:33:03 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:33:03 2020] [notice] Digest: done
[Fri Jan 31 17:43:12 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:43:13 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:43:13 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:43:13 2020] [notice] Digest: done
[Fri Jan 31 17:44:13 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:44:14 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:44:14 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:44:14 2020] [notice] Digest: done
[Fri Jan 31 17:45:32 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:45:33 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:45:33 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:45:33 2020] [notice] Digest: done
[Fri Jan 31 17:46:39 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:46:40 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:46:40 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:46:40 2020] [notice] Digest: done
[Fri Jan 31 17:47:23 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:47:24 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:47:24 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:47:24 2020] [notice] Digest: done
[Fri Jan 31 17:56:28 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:56:29 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:56:29 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:56:29 2020] [notice] Digest: done
[Fri Jan 31 17:58:19 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:58:20 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 17:58:20 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 17:58:20 2020] [notice] Digest: done
[Fri Jan 31 18:01:49 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 18:01:50 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 18:01:50 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 18:01:50 2020] [notice] Digest: done
[Fri Jan 31 18:03:44 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 18:03:45 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 18:03:45 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 18:03:45 2020] [notice] Digest: done
[Fri Jan 31 18:06:11 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 18:06:12 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 18:06:12 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 18:06:12 2020] [notice] Digest: done
[Fri Jan 31 18:22:04 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 18:22:05 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 18:22:05 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 18:22:05 2020] [notice] Digest: done
[Fri Jan 31 18:24:37 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 18:24:38 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 31 18:24:38 2020] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 31 18:24:38 2020] [notice] Digest: done
-
Hi Brian,
It seems that the problem there has already pointed to you how to resolve it. See these lines,
Cache is not configured [hint: SSLSessionCache]
[Fri Jan 31 17:31:54 2020] [warn] pid file V:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?Maybe this post can help you out: https://serverfault.com/questions/414411/session-cache-is-not-configured-why
-
If Apache in MAMP starts and then suddenly stops, the most common cause is a port conflict, usually involving port 80 or another service already using the same port. Start by checking the Apache error log in MAMP, as it usually shows the exact reason for the shutdown. You can also check whether another application or web server, such as macOS Apache, Nginx, or another development tool, is already using the required port. Changing Apache to an unused port, such as 8888, can sometimes resolve the issue. Make sure your MAMP configuration points to the correct document root and that the selected PHP version is supported by your MAMP installation. Restarting MAMP after making configuration changes can also help. If Apache still stops immediately, checking the error log is the best next step because it can reveal configuration, permission, module, or port-related problems more precisely.
Please sign in to leave a comment.
Comments
2 comments