Sven,
I found out that problem.
here is the excerpt of a dialogue with a friend, he is a Linux/Apache stud, and with his help I figured out the root cause being one of two things. DONT USE THE PL versions. use only stables, ie. 4.0.6
Duly noted, LOL!
I think this was the prob...just in case anyone else you hear has similar probs.
mail() doesnt seem to work correctly under CGI extension, but does work under Load Module. Problem is, if you use the .msi installer (which is what came with my book) it doesnt load correctly...see this note from php.net(not the ZIP file has "CGI binary plus server API versions for Apache" and the installer is "CGI only")grr:
Windows Binaries
All Windows binaries can be used on Windows 95/98/Me and on Windows NT/2000.
PHP 4.0.6 zip package [4,859Kb] - 23 June 2001
(CGI binary plus server API versions for Apache, AOLserver, ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged as zip)
PHP 4.0.6 installer [755Kb] - 23 June 2001
(CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
After all that, and sticking this that and the other thing in the conf file, i was getting all sorts of weird errors making diagnostics a bitch...so i finally RTFM slowly and methodically and caught that nugget of info, extracted the zip in, did all the other install tasks, and wham-o it worked, PHEW!
Apprectiate the help...talk to ya soon.
So, though I suppose you have it working nicely now, IF you loaded PHP via an installer you might want to go back and hand install it with the ZIPPED stable release.
If you recall, the installer walks you through and asks you questions. I think when it did this is may be creating a false registry entry. Much better to put the Windows blinders on, and treat it as if you were installing on a Unix system, ie, install it, and configure the php.ini and httpd.conf by HAND.
Here are the entries for httpd.conf:
LoadModule php4_module "d:/program files/apache group/apache/php/sapi/php4apache.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Notice it IS working for me in the sapi directory.
That's for the note though.
Cheers.