Re:PHP has been removed in macOS Monterey
by nindalf on Thursday June 17, 2021 @05:08AM
(#27537599)
That’s Python 2. In Python 3 it’s
[ Parent
| on HN ]
Re:PHP has been removed in macOS Monterey
by speedgoose on Thursday June 17, 2021 @08:32AM
(#27538878)
On MacOS, it seems that python 2 is still the default so the right command is :
python3 -m http.server 8000
Re:PHP has been removed in macOS Monterey
by astrange on Thursday June 17, 2021 @08:59AM
(#27539094)
It's strange that this comment chain is trying to teach agys about how to use SimpleHTTPServer when their comment says they tried it and it didn't work for them.
Thanks :)
Both Python (v2 and v3) servers work more or less but they have an issue: the first page load takes about 30 seconds on my machine, usually. I never figured out why exactly and that’s why I started using the PHP server.