Creating a New PHP Project with Remote Server Support with a Zend Server Amazon EC2 Instance
This procedure describes how to create a new PHP project with Remote
Server Support, when an Amazon EC2 Instance is your remote server. A PHP
remote project allows you to develop your project locally but debug it
remotely on your Zend Server Amazon EC2 Instance.
Before creating a new PHP project with Remote Server Support with a
Zend Server Amazon EC2 Instance as your remote server, you must add
an Amazon EC2 Remote Connection Profile and enable
tunneling for your Zend Server Amazon EC2 Instance.
|
|
|
To create a new PHP project with
Remote Server Support with a Zend Server Amazon EC2 Instance:
-
Go to File | New |
Other | PHP | PHP Project from Remote Server - Or - In the PHP Explorer view, right-click and select New | Other | PHP | PHP Project
from Remote Server. The New PHP Project with Remote Server Support dialog opens.
-
Enter the following information:
-
Click Next. The Remote Configuration dialog opens.
-
Select your Amazon EC2 Remote Connection Profile. If you do not have an existing Amazon EC2 Remote Connection
Profile you can configure one by clicking Manage.
For more information see Adding
an Amazon EC2 Remote Connection Profile.
The Project Directory is configured automatically based on
your project name.
-
Make sure the Project URL is correct and click Next. The Data Download Selection dialog opens.
-
Expand the Project Directory to see all the folders
within it that will also be transferred.
-
Select the folders you want to download from the remote
server by selecting the check-box next to the folder name.
-
Click on a selected folder to view the files included
in the folder. The individual files can also be selected/unselected to download
from the remote server. By default, all files within a folder
are selected. On this page you can also:
-
Filter Types - Opens the Inclusion and Exclusion
Patterns dialog. For more information see Working
with Inclusion and Exclusion Patterns.
-
Select All - Selects all the folders and
files.
-
Deselect All - Deselects all the folders
and files.
-
Click Finish. The selected files are downloaded and the new PHP Remote Project
with Remote Server Support is created.
You can now debug
your project as a PHP web page on your Amazon EC2 Instance.
|
The
new PHP project will be created in your workspace and displayed
in the PHP
Explorer View.
You can now start to develop your application by creating
PHP Files or adding other resources to your project.
|