Warning: require_once(PEAR.php): failed to open stream: No such file or directory in

Warning: require_once(PEAR.php): failed to open stream: No such file or directory in

This message mean that you should throw pass to PEAR.php.

So change include_path where PEAR.php exist.

You can confirm path of pear below command.

% which pear
/opt/local/bin/pear

php.ini

include_path = ".:/opt/local/lib/php/pear"

If you con not find PATH you find PEAR.php.

% find / -name PEAR.php
/opt/local/share/pear/PEAR.php

I modified like below.

include_path = ".:/opt/local/share/pear"