Zend Server User Guide > Tasks > Working with CLI Tools > library-remove

library-remove

This CLI command entirely removes a PHP library from Zend Server with all its versions.

Command Specific Arguments

This table specifies the various arguments used in the command:

Abbreviated Full Description Required/Optional

-i

--libid

Library ID.

Required

Common Arguments

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

Abbreviated Full Description Required/Optional

-N

--key-name

WebAPI key name.

Required

-K

--secret-key

WebAPI secret key.

Required

-U

--server-url

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

Required - when action is performed on a remote server.

-h

--help

Show usage information and exit.

Optional

 

 

Instructions on how to complete a procedure

To use library-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-remove --help

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

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

The library is removed.

APPINFO 3 Zend Framework 1 unstaging

APPVERSION 3 1.12.3 unstaging /usr/local/zend/var/libraries/Zend_Framework_1/1.12.3

 

 

 

Read Also

  CLI Tools    
  Working with CLI Tools