After upgrade MAMP won't work / port numbers?

I have tried to download and upgrade my version of MAMP app to the lastest version. But now when I try and start the server I get the following error message:

Apache couldn’t be started. Please check your MAMP installation and configuration

I have no idea what to do?

I suspect I messed up the process. I deleted the old MAMP app before installing the new one. From the docs I should have left the old version until after installing the new one. I suspect this might be causing the issue. To my surprise it knew the Server Document Root (even though I had deleted the old app).

Or could it be as easy as changing some ports? Here are the current ports

Any ideas what I ports I could try??

No experience there on my end, but as you describe it this seems to be much more a MAMP issue than Kirby. Maybe MAMP’s support can help you with this.

What we in the team have been using for our local Kirby setups is https://herd.laravel.com

Maybe this could be an alternative to you as well. We even have a little screencast about it: https://www.youtube.com/watch?v=Mb_-bo77IPc

This is how I have it running and everything is working just fine on my end. Latest version (7.0.7)

Thanks for the help.

After removing ALL the previous MAMP files from everywhere on my Mac and doing lots of restarting my computer I’ve finally got the newer version of MAMP to work.

1 Like

What we in the team have been using for our local Kirby setups is https://herd.laravel.com

Might give it a go. From a brief look at their docs do I have to use Terminal to install and use? If so I’ll stick with something that has a GUI

There is some GUI, but I think here and there you might need to use the Terminal. If MAMP works again and you prefer GUI, stick to that. Was just a suggestion in case you use your mind over MAMP not working for you.

1 Like

After I upgraded from MAMP 6 → 7, my php.ini was reset to default values. I was then unable to upload files larger than 8 MB. Here is a guide where you can find the php.ini:

https://support.mamp.info/knowledgebase.php?article=212

1 Like

I spoke too soon. The homepage displays in my browser, but no other pages of the website work. For example:

http://localhost:8888/about

Gets the following error message:

Not Found

The requested URL was not found on this server.

Thanks for any help

Can you open the ‘Welcome’ page?
webstart


What is displayed in the log file? Menu -> Log:

Yep, I can open the WebStart Welcome to MAMP web page.

I’m using (trying) to use the free MAMP app. I’m on Mac. Can’t see “Menu” “Log” in the app or in the browser welcome page

How did you uninstall MAMP? by hand or by using MAMPs uninstaller?

Maybe uninstall using the proper installer again, reboot and reinstall it.

I’m using MAMP Pro on macOS.
My Ports on MAMP ‘lite’ are the same:

I can access my site at:
https://your-url:8890/kirby-4-starterkit/panel/login

I’ve spent about 4 hours uninstalling and reinstalling MAMP, both by hand and using the uninstaller that comes with MAMP Pro. I couldn’t find an uninstaller for the free MAMP.

I’ll try again

You could try using App cleaner

https://freemacsoft.net/appcleaner/

This will find configuration files etc that mamp creates. Maybe one of those is interfering.

I’ve just tried MAMP Pro and weirdly that works fine. All pages of my site are accessible. But in MAMP lite only the homepage is.

They seem to be set up the same


Screenshot 2024-09-15 at 1.14.18 PM
Screenshot 2024-09-15 at 1.14.48 PM

… oh… perhaps after stopping the server in the Pro version and setting up the server in the Lite version I need to restart my Mac?

That hasn’t worked…

MAMP Pro works but MAMP Lite doesn’t

It looks like ChatGPT has solved the problem:

Enable mod_rewrite (for Apache):

• Open MAMP/conf/apache/httpd.conf in MAMP Lite.

• Search for the following line:

#LoadModule rewrite_module modules/mod_rewrite.so

• If this line is commented (i.e., with a # at the start), remove the # to enable mod_rewrite.

It’s working so far… fingers crossed

1 Like