IntelliJ IDEA 12.1.0 Web Help

Some features described here are available in Ultimate edition only.

You can run your PHP application in several ways:

IntelliJ IDEA enables running entire PHP applications as well as particular classes or files.

To run an entire PHP application, perform these general steps
  1. Define a PHP run configuration:
    • To launch the application via a console, create a PHP Console configuration.
    • To run the application on a local or a remote Web server, create a PHP Web Application configuration.
  2. Deploy the PHP application on a local or remote server, if applicable.
  3. Run the application with the required run configuration.
To run a particular PHP class or file, do one of the following
  • Open the desired class or file in the editor and choose Run <file name> on the context menu or press Ctrl+Shift+F10Ctrl+Shift+F10Ctrl+Shift+F10Ctrl+Shift+F10Ctrl+Shift+F10Ctrl+Shift+F10Ctrl+F9Alt+Shift+F6 or Shift+F6Ctrl+Shift+F10Control Shift F10Control Shift F10Control Shift R.
  • Select the class or file in the Project view and choose Run <file name> on the context menu of the selection.

See Also

Concepts:

Procedures:

Reference:

Web Resources: