Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Built-in webserver in PhpStorm 7 EAP

This tutorial describes how to make use of the built-in webserver in PhpStorm.

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.

  • No labels