This CLI command entirely removes a PHP library version from Zend Server. To remove an entire library, see library-remove.

Command Specific Arguments

This table specifies the various arguments used in the command:

Abbreviated Full Description Required/Optional



Library version ID.


Common Arguments

This table lists arguments common to all zs-manage commands:

Abbreviated Full Description Required/Optional



WebAPI key name.




WebAPI secret key.




Zend Server URL. Default: http://localhost:10081/ZendServer.

Required - when action is performed on a remote server.



Show usage information and exit.




Instructions on how to complete a procedure

To use library-version-remove:

  1. Open your CLI.
  1. Enter a help command for the library-remove action to learn which arguments your command should include:

/usr/local/zend/bin/zs-manage library-version-remove --help

  1. Enter the command with the required arguments (replace brackets with your value):

/usr/local/zend/bin/zs-manage library-version-remove -i <library ID> -N <existing key name> -K <existing key secret>

The library version is removed.

APPINFO 1 Zend Framework 2 unstaging

APPVERSION 4 2.2.1 unstaging /usr/local/zend/var/libraries/Zend_Framework_2/2.2.1