Search code snippets, questions, articles...
Start php server from terminal on MacOS
September 17, 2022
Share on :
While developing an application in PHP, you may need to run the application locally first. Below is the command that can be used to run the PHP from the terminal window on MAC.
php -S locahost:8080
Using this command you can start PHP server on any location.