Running

Zend Studio allows you to run the applications you are working on from the workbench. This allows you to run and test your applications during development.

Zend Studio includes several different methods of running your files and applications:

PHP CLI Application

Allows you to run files situated in your workspace. This enables you to locally validate freshly developed code before deploying to a Web server. Using this option, you can run applications which do not require user input or responses from the server.

Note:

When running internal files the Zend Studio internal debugger uses its own PHP executable that was installed together with Zend Studio.

See Running PHP Scripts Locally for more information.

PHP Script Remote Running

Allows you to run files situated locally on your workspace using your server's Zend Debugger.

This allows you to test your files in the production environment, and allows you to utilize the extensions installed on your server.

 

See Running PHP Scripts Remotely for more information.

Note:

Your server must be running the Zend Debugger or Xdebug in order for remote debugging and profiling capabilities to function.
The Zend Debugger comes bundled with Zend Studio and Zend Server. For instructions on installing and configuring Xdebug, see Installing Xdebug and Configuring Xdebug.

PHP Web Application

Allows you to run applications situated on a server, including any required interactive user input.

The PHP Web Page Run dialog has an option to give the files you are working on first priority when running, using the "Local Copy" option. This means that, when possible, file content is taken from the files situated on your Workspace. This prevents you from having to upload the latest revisions.

Note:

It's recommended that your local project structure reflect the project structure on your server.

See Running PHP Web Pages for more information.

Note:

Your server must be running the Zend Debugger or Xdebug in order for remote debugging and profiling capabilities to function.
The Zend Debugger comes bundled with Zend Studio and Zend Server. For instructions on installing and configuring Xdebug, see Installing Xdebug and Configuring Xdebug.