Thursday, October 25, 2018

Running PHP locally on Mac

Its pretty simple. php installed by default on Mac.

$php -S 127.0.0.1:8080

this to be run on the folder where the index.html is present.
Once the php server is run, the http://127.0.0.1:8080

references:
https://www.youtube.com/watch?v=C_7nJHTdD5c

No comments:

Post a Comment