Apache in my MAMP starts then suddenly stops please help

Comments

2 comments

  • Avatar
    Paul Namuag

    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

    0
    Comment actions Permalink
  • Avatar
    Mitchell Jeff

    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.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk