1. Open a project in PhpStorm
To be able to work with the built-in webserver in PhpStorm, a project has to be open. Make sure that the project has a PHP Interpreter configured under Settings | Project Settings | PHP.
2. Open a web browser
Navigate to http://localhost:63342/<projectname>. For example when working in a project called HelloWorld, navigate to http://localhost:63342/HelloWorld/. This will serve our project files using the project root as the webserver's content root.
I'm getting an error: PHP Interpreter is not configured
When opening the browser and navigating to the project, an error may occur:
This error is displayed when you navigate to the built-in webserver and no PHP interpreter has been specified for the project. By clicking the link in the error message or by using Settings | Project Settings | PHP, the PHP interpreter can be specified.