- Plesk for Linux
The application that needs PEAR (PHP Extension and Application Repository) shows that it is not installed.
How to enable PEAR support for the domain?
Go to Plesk > Domains > example.com > PHP settings and find the Common settings section.
Make sure that the
include_pathdirective has the value as below (make changes if it is required):
and add the following values to the end of the
If the issue still persists, connect to the server Connect to the server via SSH and execute the following command in order to get the
php_dirvalue which is used by PEAR:
# /usr/share/psa-pear/pear/pear config-get php_dir
Add the gotten path from the previous step to the end of the
open_basedirdirective (see step 3).
Additional steps for CloudLinux
If CloudLinux with PHP selector is used, then the following command is required to be run to install PEAR packages:
# /opt/alt/php52/usr/bin/pear install Auth
Refer to CloudLinux blog for more details.
Also, if CloudLinux with CageFS Plesk-shipped PHP handler is used, then the
/usr/share/peardirectory should be added to the list of allowed by creating the
/etc/cagefs/conf.d/pear.cfgfile with the following content:
and executing the next command:
# /usr/sbin/cagefsctl --update