Developers Heaven Forum

Web Programming => PHP & Perl => Topic started by: admin on November 20, 2009, 06:07:39 PM

Title: Failed opening required 'Mail.php' (include_path='.:/usr/share/pear
Post by: admin on November 20, 2009, 06:07:39 PM
If for some reason you see this error:
Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in /var/html/wallpaperama-smtp.php on line 3

Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/html/wallpaperama-smtp.php on line 3

Be sure to install php pear Email package

this is how you install it:

yum install php-pear-Mail

after installation completed, restart your web server:

/etc/init.d/httpd restart