PHP comes with a built in server that helps to speed up developing by not having to configure a system web server, first create file index.php;
<?php echo "Hello World";
Now run the server;
$ php -S localhost:8000
Open your browser and browse http://localhost:8000, you should see "Hello World".
Development IndexThis is part of the c9-doc Manual. Copyright (C) 2017 c9 team. See the file Gnu Free Documentation License for copying conditions.