You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: Zend Server User Guide > Tasks > Working with Deployment > Deploying an Application

Deploying an Application

 

Deploying an application is the process of copying, configuring and enabling a specific application to a specific base URL on Zend Server or Zend Server Cluster Manager node(s). Once the deployment process has finished, the application becomes publicly accessible on the base URL. The server carries out this two step process by first staging the application, and then activating it after successful staging. The flow of the process is as follows:

Before deploying an application, you must have the complete application package ready.

Note:

The deployment feature is only available for Zend Server running on Apache and Zend Server Cluster Manager on Linux.

 

 

Instructions on how to complete a procedure

To deploy an application:

  1. Go to the Applications tab of your Zend Server Administration Interface and click Deploy Application.
    The Deploy Application wizard opens.

  1. Browse to your .zpk application package, select it, and click Next.
    The Set Installation Details dialog opens.

  1. Enter a display name, virtual host and path. The values for the virtual host and the path will make up your base URL. The dialog includes the following:
    • Display Name - The name that Zend Server will display for this application.
    • Virtual Host - You can select the Default Server, which will use the default virtual host on your server, or add a new virtual host by clicking Add New and entering the new name.
    • Path - The second part of your base URL, which can only be a directory. Specifying a file will cause the application to deploy with errors. Leaving this field empty will deploy the application on the virtual host's root.

When finished, click Next.

Note:

The base URL (or root URL) is the URL where the application is available after it has been deployed. The base URL is unique and cannot be shared between two applications, and each application is required to have a base URL. Using a pseudo URL is also acceptable.  

  1. If you have specified a EULA in your application package, it will appear. Mark the ‘I have read and agree to the license agreement’ checkbox and click Next.
    The Prerequisites Validation dialog opens.

  1. This dialog displays the parameters you specified as needing validation in your descriptor XML file. If all the parameters have been validated click Next.

Note:

If one or more of your parameters has failed to validate, open  your Administration Interface in another browser or tab, alter the configurations that need to be changed for the validation to succeed, and refresh the wizard.  

The User Parameters dialog opens.

  1. The parameters and values that appear in the dialog are the parameters, and their default values, which you defined in your descriptor XML file.
    Change any values that are different than the default and click Next.
    The Summary dialog opens.

  1. The Summary dialog displays a summary of the parameters you have defined for your application. To change anything on this page, click Previous and change it on the page it appears. Otherwise, click Done to deploy your application.

Important Note:

Your webserver is being restarted. The restart has completed once your server's status is changed to the desired status. For more information see Changes to Your Apache During Deployment Actions.

  1. Refresh your browser to see the deployed application in your Applications tab.

To open your application click on your application in the Application page to expand the display, and click the Base URL link.

Important Note:

If your Base URL link includes '<default-server>', it must be replaced with your machine's IP address to open the link.

Note:

If this process fails, information is available about the failure in the zdd.log file.

Location of Your Deployed Application and Relevant Configuration Files

Zend Server will place your Apache configuration files during Zend Server installation, application configuration files  and application data in specific directories.

Apache Configuration Files During Zend Server Installation

During its installation, Zend Server detects if there is an existing default vhost:

Apache Configuration Files (During Zend Server Usage)

Your application configuration files are located in the following locations:

Application Data

Your deployed application’s data is stored in:

 

 

Related Links

Related Links:

Deployment 

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.