PostsAboutGames

PHP built in WebServer

January 06, 2017 - Søren Alsbjerg Hørup

PHP has a built-in WebServer for development purposes. This makes it very easy to get started with PHP development, simply call:

php -S localhost:8081

This will start the PHP web server.

PHP 7.0.11 Development Server started at Fri Jan 5 23:01:11 2017 Listening on http://localhost:8081 Document root is C:\Users\XYZ Press Ctrl-C to quit.

Easy as eating pie!