Zend Server User Guide > Tasks > Working with Libraries > Setting a Default Library Version

Setting a Default Library Version

This page describes how to define a library version as the default library version. Defining a library version as the default version, means that it will be used by a deployed application that does not include an API call to a specific library version (e.g., 'zend_deployment_library_path('Zend Framework 2')').

Note:

If not defined otherwise by you, Zend Server defines the library version with the highest version number as the default library version.
When removing a library version defined as the default library version, Zend Server will automatically define the library version with the highest version number as the default version.

 

 

Instructions on how to complete a procedure

To set a default library version:

  1. In the UI, go to the Applications | Libraries page.
  2. From the Libraries list, select the library family the library version you wish to set as the default version belongs to.
    The Expanded View is displayed.
  3. From the Library list, select, or hover over the library version you wish to set as default, and click .
  4. When prompted, click OK.
    The library version is set as the default library version ().

 

Tip:

A library can be set as the default version during the process of deploying it. For more information, see Deploying Libraries.

 

Read Also

  Libraries    
  Working with Libraries    
  Preparing the Package Using the Deployment Tool