Connecting Tech Pros Worldwide Help | Site Map

Please Help Me Find "mail.php" from PEAR Package

vps vps is offline
Newbie
 
Join Date: Oct 2007
Posts: 9
#1: Dec 11 '07
I have Apache 2.2 server running on Windows XP SP2 with PHP 5.2.5.

I have run go-pear.bat in PHP directory (system-wide, all defaults).

Running “pear” command lists additional commands.

I cannot find “mail.php” on local drives (performed a Windows search).

Using “mail.php” from separate PEAR package does not solve the problem, since "mail" class is not recognized then.

What can I do to make the script, which requires “mail.php”, run?

Thank you very much.
vps vps is offline
Newbie
 
Join Date: Oct 2007
Posts: 9
#2: Dec 12 '07

re: Please Help Me Find "mail.php" from PEAR Package


Solved it:

Mail is a subpackage (a class and a subclass) which has to be installed separately, and it requires smtp.php and socket.php to function.

All of them can be downloaded from http://pear.php.net/packages.php.
Reply