PHP - run PHP on Mac for local development

0 votes
20 views
added Jan 20 in PHP by lcjr First Warrant Officer (11,960 points)

cd to working directory

And run the following:

php -S localhost:8000

 

And browse your project at http://localhost:8000

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...