Installed MAMP and now Mac Server Website does not work

Discussion in 'Mac OS X Server, Xserve, and Networking' started by Mork, Jun 25, 2017.

  1. Mork macrumors 6502

    Joined:
    Jan 9, 2009
    #1
    Although it was working before, after I installed MAMP, my default MacOS website is now throwing 500 errors. And, before this happened, the Wiki link gave a blank page.

    (Don't see any helpful error messages in the apache log)

    What did I do (and how do I fix it) by installing MAMP?

    Thanks in advance,

    -------------

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.
     
  2. DJLC macrumors 6502a

    DJLC

    Joined:
    Jul 17, 2005
    Location:
    Mooresville, NC
    #2
    It sounds like you've got double Apache going on the same port. Ergo, the server doesn't know which instance of Apache you want and throws a 500 error.

    I'm not sure if you can actually run two instances of Apache. If so, you'll need to change the listening port of one of the instances to something other than 80. Failing that, you'll have to disable one of the two — either MAMP or the built in web server.
     
  3. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #3
    You can't have two processes on the same socket. It sounds like MAMP took the port and doesn't know about the Mail functionality. A 500 error usually indicates a server-side configuration problem, but not two processes listening on the same socket.
     
  4. Mork thread starter macrumors 6502

    Joined:
    Jan 9, 2009
    #4
    Specifically, once I change the site URL in Settings->General in WordPress, THEN the mac server's Wiki stops working immediately. Just a blank page displays. Now, at that point, it doesn't matter if I change the settings back to the way they were in WordPress. Something gets changed I can't change back.

    Worse yet, if I change both site settings in Settings -> General in Wordpress (where they were both localhost), then the Mac Server's built-in website throws 500 errors from that point forward.

    I tried removing WordPress and also deleting the corresponding database, and rebooting. But the mac server websites are now totally dead. 500 Errors. No idea what Wordpress/MAMP are doing behind the scenes, but it seems clear I can't use MAMP on my server like I thought I could.

    Removing MAMP Pro doesn't help, either. In fact, even trying to uninstall it gives me an error.

    Restoring the server (again) from a backup and then removing MAMP Pro ....
     
  5. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #5
    I would suggest using the Apache server included with macOS. I don't see much benefit in having another installation.
     
  6. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #6
    macOS Server uses its own Apache for a lot of things even when you don't explicitly have it running. You're not going to have success trying to run MAMP on there too.
    macOS Server is not a good platform if you're looking to customize a lot of functions that are already built in. You'll struggle to work around Apple's own customizations and system updates will risk losing your customization when configuration files get overwritten.
     

Share This Page