- Plesk 12.0 for Linux
Unable to execute PHP script which is using package from PEAR (PHP Extension and Application Repository).
Similar errors can be found in
[Sun Jun 12 22:37:38 2016] [warn] [client 203.0.113.2] mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required 'Mail.php' (include_path='.:/opt/plesk/php/5.4/share/pear') in /var/www/vhosts/example.com/httpdocs/script.php on line 2
Necessary PEAR packages are not installed.
Install necessary PEAR packages, for example:
# pear install --alldeps mail