Native PHP version
Execute the command below to install an extension for the native PHP version:
Alternative PHP version
You can install an extension for the alternative PHP version:
- using the package manager Pecl;
- from the source code.
Install an extension using the package manager Pecl
Let’s install memcache as an example:
Install the packages:
Additional packages may be required when you install other extensions.
Install the extension:
Connect the extension for a required PHP version:
Install from the source code
Let’s install env as an example::
Download and extract the archive with the extension source code:
Run the configuration and setup process:
Enable the extension globally for the required PHP version:
The extension setup process may require additional packages that are not described in this article.