extension-off

This CLI command disables a PHP  extension in Zend Server.

Command Specific Arguments

This table specifies the various arguments used in the command:

Abbreviated Full Description Required/Optional

-e

--extensions

Name of extension to be disabled.

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 extension-off:

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

/usr/local/zend/bin/zs-manage extension-off --help

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

/usr/local/zend/bin/zs-manage extension-off -e <extension name> -N <existing key name> -K <existing key secret>

The extension is disabled in Zend Server.

gmp disabled

You should restart php after this action