Web Programming > PHP & Perl

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

(1/1)

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:


--- Code: ---yum install php-pear-Mail
--- End code ---

after installation completed, restart your web server:


--- Code: ---/etc/init.d/httpd restart
--- End code ---

Navigation

[0] Message Index

Go to full version