Working with Multiple Virtual Machines

This procedure describes how to specify which virtual machine you would like to run or debug your PHP application on, when you have more than one virtual machine defined in your Zend Studio.

Before specifying which virtual machine you would like to use, you must first define VMware run/debug configurations for the virtual machines you would like to choose from.

 

 

Instructions on how to complete a procedure

To work with multiple virtual machines:

  1. Select the file you would like to run/debug in the PHP Explorer view.

  2. Click Run | Run Configurations or Run | Debug Configurations depending on which action you would like to take.
    The Run Configurations or Debug Configurations dialog opens.

  1. Select the configuration for the virtual machine you would like to use in this instance and click Apply and then Debug or Run.
    Your run or debug session begins. For more information see Running a PHP Application on a Virtual Machine or Debugging a PHP Application on a Virtual Machine.

Next time you execute your application, you can select which virtual machine you would like to use by repeating this procedure.

All virtual machines which are defined in your Zend Studio can be viewed in the Remote Systems view, which can be accessed by going to Window | Show View | Other | Remote Systems | Remote Systems.