+212662161818 Du Lundi au Samedi / 8h à  21h

How to install and enable custom modules

Retour

How to install and enable custom modules

If you require some specific PHP extension which is not included into the default PHP configuration, follow these steps to install it.

NOTE: If you have a fully managed VPS/Dedicated server, please contact our team support for assistance with custom modules installation.

1. Log in via SSH to your server as a root user.

2. Run one of the tools for PHP extensions, for example, the pecl module:

pecl install extension_name

(replace the extension_name with the module you want to install) We will install a geoip extension in this example via the command:

pecl install geoip

You should see the Build process completed successfully message in the end meaning that the process is completed.

2. You can verify that it is installed and active by running the following command:

php -m | grep geoip

which should provide the result containing this extension name:



If some extension is not available for installation using this method, you should refer to its official documentation for installation guidelines.

commander