BoltCM

Sophisticated, Lightweight and Simple

Jump to docs navigation
Edit on GitHub

Note: You are currently reading the documentation for Bolt 3.0. Looking for the documentation for Bolt 3.2 instead?

Howtos ยป Running Bolt using PHP's built-in web server

For development and testing purposes it is ofter useful to use PHP's built-in web server rather than setting up Apache or Nginx.

To run the built-in server, simply change to the site root directory and run:

php ./app/nut server:run

If you wish to specify a host name or different TCP port, simply add these after server:run, e.g.

php ./app/nut server:run example.com --port=8080

Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.
Spotted a typo, or have something to add? Edit this page on GitHub.