Developers Heaven Forum

Web Programming => PHP & Perl => Topic started by: admin on November 21, 2009, 01:07:39 AM

Title: Failed opening required 'Mail.php' (include_path='.:/usr/share/pear
Post by: admin on November 21, 2009, 01:07:39 AM
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:

Code: [Select]
yum install php-pear-Mail
after installation completed, restart your web server:

Code: [Select]
/etc/init.d/httpd restart