I'm having trouble using the Mail package from PEAR. 
 I have PHP Version 5.2.8 installed (php-fpm used toghether with nginx)
$ pear version PEAR Version: 1.7.2 PHP Version: 5.2.8-1hardy~ppa1 $ pear list Package Version State Mail 1.1.14 stable ... $ pear config-get php_dir /usr/share/php $ ls /usr/share/php/Mail.php /usr/share/php/Mail.php phpinfo() says:
include_path .:/usr/share/php
Everything seems fine, but when I try to
require_once "Mail.php"; I get:
Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in /home.. on line 2
Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.:/usr/share/php') in /home.. on line 2
Am I missing something?