Failed opening required 'Mail.php' (include_path='.:/usr/share/pear

Started by admin, November 20, 2009, 06:07:39 PM

Previous topic - Next topic

admin

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