Using PECL

This is relevant only for Linux and Mac OS X

bulb.gif [Not applicable for IBM i]

In this Topic Hide

Installing Zend Server Additional Extensions

Uninstalling Zend Server Additional Extensions

 

PECL is the online repository for PHP extensions. PECL includes a directory of known extensions, including many additional extensions that are not bundled with the default PHP distribution or with Zend Server.

 

Zend Server includes a command line tool, pecl, that automates the download, compilation and installation of additional extensions from PECL.

Note:

The default Zend Server installation does not include the complete set of build tools that may be required to compile PHP extensions using pecl.
Make sure you have a C compiler (such as gcc) before using pecl.

Installing Zend Server Additional Extensions

The following commands will install additional extensions using pecl.

 

 

Instructions on how to complete a procedure

To get a list of available extensions, run:

# <install_path>/bin/pecl list-all

To install an extension, run:

# <install_path>/bin/pecl install $extension_name

Note:

Make sure to verify that all required dependencies for compiling an extension are met. For example, to compile the newt extension, you must ensure that the ncurses library is available on the same machine.

 

Uninstalling Zend Server Additional Extensions

The following commands will uninstall additional extensions using pecl.

 

 

Instructions on how to complete a procedure

To remove an extension, run:

# <install_path>/bin/pecl uninstall $extension_name

To get a list of commands, run without arguments:

# <install_path>/bin/pecl

 

 

 

Related Links

Related Links:

DEB Installation

RPM Installation

Ports and Services

Upgrading

Installed Components