Working with Extensions

In this Topic Hide

Changing Extension Status

Restart PHP Message

Configuring Directives Associated with Extensions

 

The Extensions page provides a convenient way to view and configure PHP extensions.

Use this page to control and configure the extensions that are loaded in your environment.

Changing Extension Status

 

 

ref_icon.png

To change an extension's status:

  1. Go to Server Setup | Extensions.

  2. Select an extension. In the actions column, click Turn off or Turn on:

  • Built-in extensions do not have the Turn on or Turn off option.
  • After changing an extension's status, a message appears to prompt you to click the Restart Server button at the bottom of the screen restart-btn-pe.gif.
  • You can turn more than one extension on (or off) before you click Restart Server. All the changes that are made prior to restarting the server are applied after the restart.
  • If you navigate to other tabs, the changes you make are saved and applied when the server is restarted.

Changes are updated in the Server Info page and in your php.ini file. Changes are also applied when the server is manually restarted.

Restart PHP Message

The Restart PHP message appears whenever a change is made to settings in your php.ini file. in order to apply the settings click the "Restart PHP" button. The changes will be applied to php.ini file on which Zend Server is running.

Configuring Directives Associated with Extensions

 

 

ref_icon.png

To configure a directive associated with an extension:

  1. Go to Server Setup | Extensions.

  2. If the Extension has directives that can be configured, a link appears in the directives column.
    Clicking the link opens the Directives page, with the relevant directives already filtered.

  3. Configure the directive as required.
    You can configure multiple directives before you save and apply your changes.

  4. Click the Save Changes save_directives.pngbutton at the top right corner of the screen to save your changes. To discard changes, navigate away from the screen without clicking the Save Changes button.

Changes are updated in the Extension Configuration screen and in the php.ini file the next time the server is restarted.

Note:

Directives of extensions that are turned off can also be configured through the Extensions page. Added extensions that are not part of the original Zend Server list of extensions cannot be configured on the Extensions page.

 

 

Related Links

Related Links:

PHP Extension List

Adding Extensions

UNIX: Compiling PHP Extensions for Zend Server