-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ssvw edited this page Jul 13, 2015
·
2 revisions
To testdrive the app, you can of course use a web server like Apache and set up a virtual host, but a smart alternative to that is to use the built-in PHP web server: Open up a terminal and move into the directory where your code lives. From there to, start the built-in web server, you can call PHP with the dash-S option and pass-in address (~/Sites/MySite$ php -S localhost:8000). It will hang there, which means it is working. We instantly have a web server at the address that is serving from our directory. Just go to the browser and try it out.