Apache won’t start anymore.
I tried most solutions on the internet. Nothing is working.
In apache_error.log
I get:
[Fri Dec 27 20:33:10 2019] [alert] Child 5905 returned a Fatal error... Apache is exiting!
[Fri Dec 27 20:33:10 2019] [alert] (22)Invalid argument: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Dec 27 20:33:10 2019] [alert] (22)Invalid argument: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Fri Dec 27 20:33:10 2019] [alert] (22)Invalid argument: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
Now this dude/dudette here says to reset the default
But that doesn’t help.
What to do?
4
Answers
Just found the answer myself.
Reset the templates is not enough.
And then also:
Then I set the ports back to 80… via the standard ports button.
Now it works 🎉
MAMP Pro 6 wants the document root for each host to be outside of /Applications/MAMP. I deleted all my old hosts, moved the root directories to /Users/me/Sites, and added new hosts with the new document roots. Then one last step seemed to be the final trick:
File > Reset Apache Modules
Fingers crossed. No other suggestions in other threads helped. Didn’t get any errors in the apache log file.
For me the following worked:
httpd.conf
After restarting Mamp, the file gets regenerated and apache runs.
Using the option set server ports to 80, 81, 443, 7443, 3306 and 11211 in ports & user worked for me – mamp pro 6.3.2