Ok I am at my wits end. I have been all through the forums, php.net, apache.org and the web at large.
Anyway when I try to create my first account it chokes on a php function call to mail(). Per PHP's documentation it says sendmail must be present in the path. It was not when I initially compiled so I uninstalled apache and php, installed sendmail via apt-get to debian and then re-configured and re-compiled the works. PHP (5.1.1), Apache2 (2.2.0)
sendmail works, it is in the path. I even put sendmail_directory=/usr/sbin/sendmail in the php.ini. Least I think it works. Haven't found a good command line example to actually send a msg... but the server is there.
php works, it displays phpinfo.php
mysql works as I have the initial entry in the database from where I tried to have an email sent to me.
when php configures it checks for and finds sendmail (cached) /usr/sbin/sendmail. Have done this several times now (configuring, make, make install) for php since installing sendmail via apt from debian (running mepis)
Yet in the end I still wind up with undefined function call to mail()
Got to be something stupid. Anyway swiped a test mail script someone else on the forums ginned up to test jus the mail call and still can't get it to work.
<?php
$to = "me@gmail.com";
$from = "janedoe@anotherfakedomain.com";
$subject = "This is a test email";
$message = "Dear John,\n\nThis is a fake email, I hope you enjoy it.\n\nFrom Jane.";