Book Image

PhpStorm Cookbook

By : Mukund Chaudhary
Book Image

PhpStorm Cookbook

By: Mukund Chaudhary

Overview of this book

Table of Contents (16 chapters)
PhpStorm Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Setting the run configuration


Having learned how to code within the PhpStorm editing system, you should be able to execute your code now. No, no! It is not being assumed that you don't know how to run code—the perspective being discussed here is PhpStorm. You can now read the mentioned statement again.

How to do it...

  1. Run configuration can be set for the project-wide files. To make the configurations, you need to go to Run | Edit Configurations from the main menu. A dialog will appear that asks you a number of questions. The answers will assist you by providing a quicker way to execute your code.

  2. Once you open the settings area, you need to broadly concentrate on the methods that are of interest to you. If you do not specify any settings, PhpStorm will determine the type of the scripts that you have written. The PHP script settings are an emulation of the scenario when you used to execute a PHP script via the command line by providing command-line arguments, specifying interpreter options or...