PHP extensions

From ISPWiki
Jump to: navigation, search

PHP (stands for Hypertext Preprocessor) is a scripting language that is often embedded into HTML to add functions HTML alone cannot do. PHP allows you to collect, process and use data to create a desired output.

PHP is able to preform a number of tasks including printing data, making numeric calculations, making comparisons, etc. PHP can also be used to connect to a database, retrieve add/or update content, write programs (routines) that output code.

There are many different extensions available for PHP. In this module you may add PHP extensions to your server.

For more information about PHP please visits its official web site http://www.php.net.

Module «PHP extensions»
T-bullet.gif View a list of extensions
T-install.png Install PHP extension
T-delete.png Delete PHP extension
T-liststart.png Enable PHP extension
T-liststop.png Disable PHP extension

View a list of extensions

  • Name - name of the shared library file which implements the corresponding PHP extension.
  • Properties - current status of the PHP extension:
P-onn.png - the extension is installed.
P-off.png - the extension is not installed.
P-lock.png - the extension is blocked. It is impossible to changes its status through the control panel.
P-file-204.png - the extension is on.

Install PHP extension

To install other PHP extensions, select the required line, click the "Install" icon and confirm that you want to install the selected extension.

Delete PHP extension

To delete an extension, select it from the list, click the "Delete" icon and confirm that you want to delete the selected extension.

Enable PHP extension

If you wish to activate a PHP extension, which is already installed on the server, but not activated, select it from the list, and click "On". Confirm that you want to enable the selected extension by clicking OK in the following form.

A control panel user cannot activate an extension with dependencies.

E.g. pdo_mysql depends on pdo. Those extensions should be activated by admin. A user cannot enable pdo, pdo_mysql, because the custom ini-file for CGI is uploaded before other files that describe changes made by admins. Therefore, if an admin enables the pdo extension, and a user enables pdo_mysql, than pdo_mysql will be uploaded before pdo causing an error, and the extension won't be uploaded.

Disable PHP extension

If you wish to deactivate a PHP extension installed on your sever, select it from the list and click the "Off" icon. Confirm that you want to deactivate the extension by clicking OK in the following form.