The Zend Core Extensions screen provides a convenient way to view and configure extensions.

Configuration Tab Extension Configuration
System Administrators may prefer to control the extensions loaded in their environment to make sure that only necessary extensions are loaded.
A PHP extension is a set of instructions that adds functionality to PHP. Extensions can also be employed to recycle frequently used code. You can place a set of functions into one extension and instruct your projects to utilize the extension. Another use for PHP extensions is to improve efficiency and/or speed. Some processor intensive functions can be better coded as an extension rather than straight PHP code.
Note:
The purpose of the load/unload extension option is to configure php.ini according to the extensions you would like loaded.
The Extensions screen is a configurable list of extensions built in with the Zend Core installation or extensions added to php.ini by the user. It allows you to view the status of all your extensions and enables you to quickly and easily load and unload extensions.
In addition, you can also configure directives associated with certain extensions. Extensions with configurable directives will have a Plus Icon [+] next to them. Click the Plus Icon [+] to expose a list of the different configurable directives associated with a particular extension.
When applicable, click the Reference Icon
to the right of an extension to display information
about the extension in the PHP manual.
When applicable, click the Help icon
to view information about a particular directive.
Note:
The search directives box at the top of the screen allows you to search all the Configuration tabs for a required directive. The result will be displayed in the relevant Configuration tab. If there is more than one result, relevant results will be presented in a drop-down list to the right of the Search directives box. Selecting a directive from the drop-down list will take you to the relevant tab.
Extension Status
Extensions can have one of three different statuses:
Unloaded - The extension
is not running on the machine.
Loaded - The extension
is running on the machine.
Built In - Built-in
extensions are extensions that have dependencies, or were complied with
PHP. Built in extensions cannot be removed and so do not have an enable/disable
icon next to them.
Hovering over the lightbulb icon will display a tooltip indicating whether the status is unloaded, loaded or built in.
Note:
Extensions marked with an '!' indicate that an inconsistency
occurred between the server state and the php.ini state. Possible causes
are that the php.ini was changed earlier and the server was not restarted,
or that the extension failed to load. To test this, try to restart the
server.
Extensions and directives marked '*' have different values (or loaded/unloaded
states in case of Extensions) in the php.ini file and in the running server
instance. To synchronize their state/value, restart the Web Server.
|
|
|
|
|
To change an extension's status:
|
|
Changes will be updated in the Extension Configuration screen and will also be made in the php.ini file. |
|
|
|
|
|
|
To configure a directive associated with an extension:
|
|
Changes will be updated in the Extension Configuration screen and will also be made in the php.ini file. |
|
Note:
Directives of both loaded and unloaded extensions can be configured through the Extension configuration screen.
For a full list of extensions and their descriptions, see Appendix C - Zend Core Extensions.
Note:
Some extensions have dependencies on certain libraries.
For a full list of libraries installed with Zend Core, see Appendix
D - Libraries.
Zend Core users can benefit from extension management capabilities for third party extensions as well as for Zend extensions. This enables users to load and unload all extensions directly from the Zend Core Configuration tab.
Disclaimer:
Zend Technologies does not provide support for third party products, including extensions. Therefore, if an issue for support arises, please remove all third party extensions by commenting out the reference to them in your php.ini before contacting the Zend Support team.
There are two types of extensions: PHP extensions and Zend extensions. The extension provider should supply information regarding the extension type (Zend or PHP). Make sure to also check the provider's documentation for possible compatibility issues, PHP version compatibility and any other additional configurations that may be required.
Note:
Zend Product extensions
are managed by the Extension Manager by using the directive "zend_extension_manager.<my_extension_name>=<full_path_to_extension_location>".
Ensure that <full_path_to_extension_location> is replaced with the
path to your extension's location and <my_extension_name> is replaced
with your extension's name.
Operating System Compatibility:
Windows users should only use binaries compiled in non thread-safe (NTS).
|
|
|
|
|
To Add Zend Extensions:
|
|
Note: If you try to load a PHP extension as a Zend extension, in Linux you will receive
the following error message in your server's error log: "<extension_name>
doesn't appear to be a valid Zend extension." |
|
|
|
|
|
|
|
|
|
|
The extensions will now appear in your Zend Core Web Administration GUI under the Extensions tab and you will be able to use the Web GUI to load and unload the extension.
Under Unix/Linux operating systems you can also create and compile your own extensions using the phpize command.
Disclaimer:
External extensions are not supported by Zend. If you encounter a problem, remove any additional extensions before contacting Zend Support.
Building PHP extensions from source requires basic UNIX skills as well as several build tools, among others:
An ANSI C compiler
flex: Version 2.5.4
bison: Version 1.28 (recommended), 1.35, or 1.75
Any specific components or libraries required by the extension being built (such as gd, pdf libs, etc.)
|
|
|
|
|
To compile extensions from source:
cd <your_extension_directory> /usr/local/Zend/Core/bin/phpize Ensure that you replace <your_extension_directory> with your extension directory's name.
./configure --with-php-config=/usr/local/Zend/Core/bin/php-config\ --enable-shared Note: Some extensions will need additional configuration flags. It is therefore advised to run "./configure --help" and review the possible flags before compiling.
make make install Make install should install the new .so extension binary in Zend Core's extension directory.
extension=<my_extension_name>.so Replace <my_extension_name> with your extension's binary name.
|
|
The extension will now appear in your Zend Core Web Administration GUI under the Extensions tab and you will be able to use Zend Core Web GUI to load and unload the extension. |
|
|
|
|
|
|
Related Links: |
|
|
|