Using PECL
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.
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.
|
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 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.
|
|
|
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 |
|