Hi yusuf,
Pls. note, that there is no serverwide option, to install additional PHP modules to your desired PHP version. Each PHP version needs a depending PHP module integration.
Here is a SEARCH link for the powerfull
forum search, which helps you to find previous posts at the forum, associated with the "
pecl install" command:
Pls. be aware, that there are still PHP extensions, for which you can't use "
pecl", as the desired package could be outdated, or/and not maintained anymore. A corresponding search at
=> PECL :: Package Search could help you to find the desired package(s) and you are able to inform yourself about the desired package.
If you desire full example commands for a specific PHP version, pls. consider to add your operating system and the corresponding PHP version. Nethertheless, here are some hints, where the corresponding "pecl" ( or "pear" ) executables are located:
serverwide PHP versions:
Plesk PHP versions:
Code:
/opt/plesk/php/5.2/bin/
/opt/plesk/php/5.3/bin/
/opt/plesk/php/5.4/bin/
/opt/plesk/php/5.5/bin/
/opt/plesk/php/5.6/bin/
/opt/plesk/php/7.0/bin/
/opt/plesk/php/7.1/bin/
pear
pecl
FULL path example:
/opt/plesk/php/5.2/bin/pecl