Edit on GitHub
Jump to docs navigation

HOWTOs / Running Bolt using PHP's built-in web server

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

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
Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.