You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

更新后MAMP无法启动求助:Mac升级至MAMP 4.5后启动即闪退

Fixes for MAMP 4.5 Crashing Immediately on Launch (Mac)

Hey there, sorry to hear MAMP's acting up right after your upgrade to 4.5—let's work through some tried-and-true fixes to get it back up and running:

  • Check for Port Conflicts
    MAMP relies on ports 80 (Apache) and 3306 (MySQL) by default, and other apps (like Skype, or even macOS's built-in Apache) might be hogging them.
    Open Terminal and run these commands to see what's using the ports:
    sudo lsof -i :80
    sudo lsof -i :3306
    If you see a process listed, you can kill it with sudo kill -9 [PID] (replace [PID] with the number from the output), or open MAMP's preferences and switch to unused ports (like 8888 and 8889).

  • Reset MAMP Preferences
    Outdated preference files often cause crashes after upgrades. Here's how to reset them:

    1. Make sure MAMP is completely closed (check Activity Monitor if needed).
    2. Open Finder, press Cmd + Shift + G, and paste ~/Library/Application Support/appsolute/MAMP PRO/
    3. Rename the MAMP PRO.conf file to something like MAMP PRO.conf.old (this keeps a backup just in case).
    4. Launch MAMP again—it'll generate fresh preference files.
  • Fix Folder Permissions
    Upgrades can mess up file permissions, preventing MAMP from accessing necessary files. Run this Terminal command to reset permissions for the MAMP folder:
    sudo chown -R $(whoami) /Applications/MAMP/
    Enter your Mac password when prompted, then try launching MAMP again.

  • Dig Into Error Logs
    If the above steps don't work, the logs will tell you exactly what's breaking. Navigate to /Applications/MAMP/logs/ and open apache_error.log or mysql_error.log with TextEdit. Look for lines marked ERROR—they'll give you specific clues (like a missing module or corrupted database).

  • Reinstall MAMP (Last Resort)
    If all else fails, a clean install might do the trick:

    1. Back up your website files from /Applications/MAMP/htdocs/
    2. Export your databases using MAMP's phpMyAdmin (if you can access it) or copy the database folders from /Applications/MAMP/db/mysql/
    3. Drag the MAMP app from your Applications folder to the Trash, then empty it.
    4. Download the 4.5 version again and install it, then restore your backups.

If none of these fix the crash, share a snippet from the error logs and I can help you narrow it down further!

内容的提问来源于stack exchange,提问作者Alessio Cammarata

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.29 07:34:17