How to run PHP code on a browser from CLI

This is a quick note for how to run PHP code from CLI and print the result on a web browser…

php -S 127.0.0.1:8000 -t C:/app/php-folder

Leave a Reply

Your email address will not be published. Required fields are marked *