# PHP: Built-in web server

If you have ever wanted to quickly test a php script but don't want to jump through hoops to get a local web server running you can make use of the <a href="https://www.php.net/manual/en/features.commandline.webserver.php"> built-in web server</a> that comes with php. 
It's simple to use you just navigate to directory the file you want to run is in and start the server:
```bash
cd path_to_folder
php -S localhost:9000
```
And then visit your browser at <a href="localhost:9000">localhost:9000</a>
