Cannot get MAMP 6.6 to work with Big Sur

All MAMP discussions around troubleshooting and anything related to MAMP. Be as detailed as possible here when posting an issue.
Post Reply
Posts: 5
Joined: Sun Nov 14, 2021 7:32 pm

Cannot get MAMP 6.6 to work with Big Sur

Post by BunchOfSticks »

I feel broken right now. :cry:

My old Mac is dying and I had MAMP and NetBeans running perfectly on them, and now I have to switch to a newer Mac and migrate things over and after two days I cannot get anything working.

In the past, I took extensive notes and screenshots of the setup process, so when I had to upgrade things would be easy.

Unfortunately, what worked in the past with macOS Sierra, MAMP 5.7 and NetBeans 8.2 apparently doesn't work with Big Sur, MAMP 6.6 and NetBeans 12.5.

After installing everything yesterday, and updating all of my confi files, when I started up MAMP it seemed to be okay, but in the MAMP window I see
Then when I tried to load a test index.php page, I got some error in Firefox about the page being secure.

This seems like an Apache 2.4 issue, but I am ignorant to fixing OS/Apache issues.

There are so many files and places I configured things I am not sure where to begin to describe things.

Here are some environmental things you may wish to know...

private > etc > host

Code: Select all

# Host Database
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##			localhost		broadcasthost
::1             	localhost

# Added 2021-11-13			local.mycompany

Applications > MAMP > bin > php php7.4.21 > conf

Code: Select all

A boatload of tweaks that I can't easily share here, but that have worked for years as I upgrade MAMP to never versions, so I assume this code is okay.

Nothing fancy, just mostly locking things down for security.

Applications > MAMP > conf > apache

Code: Select all

Again, lots of tweaks that always worked in years past up until now.

Some highlights...

ServerRoot "/Applications/MAMP/Library"

Listen 80

LoadModule rewrite_module modules/

LoadModule php7_module        /Applications/MAMP/bin/php/php7.4.21/modules/

# I added this in MAMP 5.7.  Not sure why, because I use virtual hosts, but it didn't break anything so I left it.
DocumentRoot "/Users/user1/Documents/MyCompany/++htdocs/11-CompanyName/public_html"

<Directory />
    Options Indexes FollowSymLinks
	# Disabled 2018-12-24 @ 1942
	# AllowOverride None
	# Added 2018-12-24 @ 1942
    AllowOverride All

# Added 2019-01-06 @ 14:09
<Directory "/Users/user1/Documents/MyCompany/++htdocs/11-CompanyName/public_html">
    Options All

    AllowOverride All

    # Order allow,deny
    # Allow from all
    Require all granted

    XSendFilePath "/Applications/MAMP/htdocs"

<IfModule dir_module>
    # Updated 2019-01-06 @ 2036
    DirectoryIndex index.php index.html
	#DirectoryIndex index.html index.php

    <IfModule perl_module>

    <IfModule wsgi_module>
        DirectoryIndex index.wsgi


AccessFileName .htaccess

NameVirtualHost *

# Default
<VirtualHost *:80>
  DocumentRoot "/Applications/MAMP/htdocs"
  ServerName localhost

# Added 2021-11-13 20:54
# 11-CompanyName
<VirtualHost *:80>
  DocumentRoot "/Users/user1/Documents/MyCompany/++htdocs/11-CompanyName/public_html"
  ServerName local.mycompany
In NetBeans, I have about a dozen projects that I am working on, and I have had virtual hosts set up for them like detailed above, and things have always worked until now.

I am mega behind right now, and my old Mac is about dead, so I need to get a new development enviornment set up ASAP.

Would really appreciate help figuring out what is wrong, because I am clueless about operating systems and command line and Apache and config files.

I thought the screenshots and notes and templates I had to tweak things as I upgraded OS's, MAMP versions and NetBeans versions were perfect until now. :cry: :cry: :cry:
Posts: 5
Joined: Sun Nov 14, 2021 7:32 pm

Re: Cannot get MAMP 6.6 to work with Big Sur

Post by BunchOfSticks »

It seems my issues keep changing.

Originally after installing MAMP 6.6 on Big Sur, when I launched a test "index.php" page from one of my NetBeans project folders, I got a MAMP error saying that MAMP could not run. (Sorry, I didn't write down the error message.)

I also noticed, that in MAMP's pop-window I see under "Document Root" this "/Pradde/Programme/MAMP/Library/OpenSSL/certs/empty.crt" which is not what I have defined in my config files for MAMP.

Probably because I have been fiddling with my conf files, now I don't see that, but I get a "Not Found. The requested URL was not found on this server." when I go to launch my "index.php" file.

I have been searching online, but haven't found any solutions.

I am not proficient in Linux, macOS or Apache and most of what I have read online is Greek to me.

This is so frustrating, because macOS and MAMP have historically been "plug-n-play".

Could really sue some help here!! :cry:
Posts: 5
Joined: Sun Nov 14, 2021 7:32 pm

Re: Cannot get MAMP 6.6 to work with Big Sur

Post by BunchOfSticks »

Hello. Sorry for posting again when no one has responded, but am trying to provide details so someone might help.

I just went into MAMP after a week off, and it seems to start up okay, but the first thng I see under "Document Root" is: "/Pradde/Programme/MAMP/Library/OpenSSL/certs/empty.crt"

Then I clicked on the "Stop" button, and when I clicked "Start", MAMp threw this popup error window:

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

Rather vague, don't you think?!

I clicked OK, and it looks like MAMP is running, but when I go into NetBeans 12.5 and try to launch my "Hello World" test index.php page, I get...
Not Found

The requested URL was not found on this server.
In Firefox, I see:

So what am I doing wrong? :-(

P.S. When I had first installed MAMP 6.6 and NetBeans 12.5, I was getting some security error when Firefox loaded. I went into Firefox > Settings > Privacy & Security and set "HTTPS-Only Mode" = "Dn't enable HTTPS-Only Mode" since I do not have an SSL certificate locally in dev.
Post Reply