Author Topic: Failed opening required 'Mail.php' (include_path='.:/usr/share/pear  (Read 8039 times)

Offline admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
    • View Profile
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