PHP PEAR packages and Perl modules in cPanel
PHP PEAR packages
- Open "PHP PEAR Packages" (group "Software").
- Find the package with search or type its name in the install field.
- Click "Install Now".

Packages go to the php folder in your home folder. Add it to your script:
ini_set('include_path', '/home/USERNAME/php:' . ini_get('include_path'));Perl modules
- Open "Perl Modules".
- Enter the module name (as on CPAN, e.g.
JSON::XS) and click "Install Now".

Modules go to the perl folder. At the top of your script add:
#!/usr/bin/perl
use cPanelUserConfig;Modern PHP projects use Composer rather than PEAR. PHP extensions (intl, imagick and so on) are enabled in Select PHP Version.