2 ms·
On Linux, php -S 0:8080 is shorter if you're just testing (as it's meant for) and have a firewall - though it opens it for 0.0.0.0 (anyone who can reach your sy
by Aachen 6y ago
On Linux, php -S 0:8080 is shorter if you're just testing (as it's meant for) and have a firewall - though it opens it for 0.0.0.0 (anyone who can reach your system).
Not sure about other OSes, I think I noticed this doesn't work on Windows once but that could also have been BSD or something.