NYCPHP Meetup

NYPHP.org

[nycphp-talk] Pear Mail error

Cliff Hirsch cliff at pinestream.com
Mon Mar 20 10:59:21 EST 2006


I am bringing up a new server and received the following errors when
trying to send mail. Do I just have a php.ini include path problem? It
looks like PEAR landed in a strange location. Where do you put PEAR
files?
 
Wait a minute -- I think I have two PEAR install on this machine. 
(include_path='.:/usr/local/Zend/Core/share/pear:/var/tmp/php-root/usr/s
hare/pear') 
Time for more digging...
 
ERRNO: 2 
TEXT: Mail_smtp::send(Net/SMTP.php) [function.send]: failed to open
stream: No such file or directory 
LOCATION: /var/tmp/php-root/usr/share/pear/Mail/smtp.php, line 185, at
March 20, 2006, 10:34 am
Showing backtrace:
Mail_smtp.send() # line  185, file:
/var/tmp/php-root/usr/share/pear/Mail/smtp.php
 
ERRNO: 2 
TEXT: Mail_smtp::send() [function.include]: Failed opening
'Net/SMTP.php' for inclusion
(include_path='.:/usr/local/Zend/Core/share/pear:/var/tmp/php-root/usr/s
hare/pear') 
LOCATION: /var/tmp/php-root/usr/share/pear/Mail/smtp.php, line 185, at
March 20, 2006, 10:34 am
Showing backtrace:
Mail_smtp.send() # line  185, file:
/var/tmp/php-root/usr/share/pear/Mail/smtp.php
 
ERRNO: 2 
TEXT: __autoload(/var/www/html/business_objects/net_smtp.php)
[function.--autoload]: failed to open stream: No such file or directory 
LOCATION: /var/www/html/include/app_top.php, line 22, at March 20, 2006,
10:34 am
Showing backtrace:
__autoload() # line   22, file: /var/www/html/include/app_top.php
__autoload("Net_SMTP") # line  189, file:
/var/tmp/php-root/usr/share/pear/Mail/smtp.php

Cliff Hirsch
______________________________
Pinestream Communications, Inc.
Publisher of Semiconductor Times & Telecom Trends
52 Pine Street, Weston, MA 02493 USA
Tel: 781.647.8800, Fax: 781.647.8825
http://www.pinestream.com <http://www.pinestream.com/> 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060320/505621b5/attachment.html>


More information about the talk mailing list