Apache not starting in MAMP (but MySQL working) in Windows 10

0

Apache not starting in MAMP (but MySQL working) in Windows 10. MAMP Version 4.1.1.18915.

apache_error

MAMP screenshot

Vishal

Posted 2019-09-24T17:08:38.940

Reputation: 1

1All of those “unclean shutdown” means you most likely force quit prior to this happening. I would recommend a complete reboot of Windows and trying again. – JakeGould – 2019-09-24T17:19:01.417

@JakeGould I did clean complete reboot multiple times and also reinstalled MAMP, But sitll i am facing same problem – Vishal – 2019-09-24T17:27:24.820

Answers

3

@vishal I've encountered the same issue. The only thing that is currently solving the issue for me is changing the php version in MAMP preferences. Try it out!

In the MAMP menu there's a link to preferences. When you click it you'll find the options to change ports, php, web server etc. There's a dropdown menu in the PHP section to change the version. Here's a screenshot

Jentan Bernardus

Posted 2019-09-24T17:08:38.940

Reputation: 131

How does one do that? – music2myear – 2019-11-28T18:25:44.983

@music2myear In the MAMP menu there's a link to preferences. When you click it you'll find the options to change ports, php, web server etc. There's a dropdown menu in the PHP section to change the version. Here's a screenshot: https://share.getcloudapp.com/L1uko5XG

– Jentan Bernardus – 2019-11-29T14:02:07.137

That information should be in the body of your answer to make it better. Use the edit button to do this. – music2myear – 2019-11-29T15:33:45.837

1Done! Thanks for the heads up for making the answer better and useful. – Jentan Bernardus – 2019-11-30T05:09:09.833

You're welcome, and thanks for making your answer better. The more info in the answer, the better it is, and the more up votes you are likely to receive. – music2myear – 2019-11-30T17:24:34.447

0

Run:

apache -k shutdown

Or:

apache -k restart

At Windows command line.

You could also tipe at Windows Explorer services.msc and stop/restart Apache.24 service.

But the first two options at the command line should work like a charm.

user729653

Posted 2019-09-24T17:08:38.940

Reputation:

Are you sure that those commands would work with MAMP? In macOS the whole LAMP stack is self-contained within the MAMP application. So generic start/stop commands don’t really work the same way in that case. – JakeGould – 2019-09-25T13:48:28.600