Missing Pear?

Posted March 24, 2014 3k views
I have a mail parsing script that I set up with help. Up until 3 days ago, it was working flawlessly. Now It's throwing an error... Warning: require_once(PEAR.php): failed to open stream: No such file or directory in /usr/share/pear/mimeDecode.php on line 65 Fatal error: require_once(): Failed opening required 'PEAR.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/pear/mimeDecode.php on line 65 I verified that mimeDecode.php is in fact present in /usr/share/pear. 1. How can I know if all the Pear files are installed? 2. the script is being called from CLI. I know there are different include paths depending on cli or not cli. Where would I check/edit the path, and what should the path say to make sure it includes Pear? Running CentOS 6.4 x32 Apache 2.2.15 PHP 5.3.3

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer
I have no idea how or why... but all of the sudden Pear was not installed.
Installed pear and everything works fine now.
Submit an Answer