Run the App Locally

Page last updated:

Page last updated:

Now start your application locally using the php command:

$ php -S localhost:3000 -t public

> PHP 7.0.3 Development Server started at Thu Apr 14 17:26:05 2016
> Listening on http://localhost:3000
> Document root is .../cf-sample-app-php/public
> Press Ctrl-C to quit.

Open http://localhost:3000 with your web browser. You should see your app running locally.

To stop the app from running locally, in the shell terminal, press Ctrl+C to exit.

I can run my App locally
View the source for this page in GitHub