PHP built in WebServer

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!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s