php info shows php working on IIS but the configuration file path still shows c:\windows

In addition, when I try a test page it comes up with a standard error:

There was an error while processing the form. The most common source of errors is the failure to fill in the Name and Email Address fields

which I assume is the default error code in the php page.

do I need to enable ; cgi.force_redirect = 1 ?

Also, I assume that I am using ISAPI because that is what I've allowed in IIS, but can i use both the php-cgi.exe and the ISAPI?

Thanks
LVL 7
Firmin FrederickSenior IT ConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ted BouskillSenior Software DeveloperCommented:
Yes you can use both.  If youve configured IIS correctly requests for PHP files will be sent to the php-cgi.exe and requests for ASP, ASPX et cetera will be sent to other Microsoft ISAPI DLL's for processing.

By the way, I'd suggest you hse the PHP ISAPI DLL to process PHP files.  It's actually faster than the EXE file.  
http://www.visualwin.com/PHP-ISAPI/

We did it for our MediaWIKI and it works great and there was a noticeable improvement in performance.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Firmin FrederickSenior IT ConsultantAuthor Commented:
thanks for your response dude :) I'll stick with the ISAPI then...any ideas on the "cgi.force_redirect = 1" ?
Some people are suggesting it off, one guy ws adamant that it should be enabled - I've tried it both ways with no joy.  PHP is working to an extent...but not the way |I was hoping...any clues?
0
Firmin FrederickSenior IT ConsultantAuthor Commented:
http://www.peterguy.com/php/install_IIS6.html - this is the link to the guy who said use cgi.force...
0
Firmin FrederickSenior IT ConsultantAuthor Commented:
OK for anyone interested - the forms are being submitted sucessfully, turns out the smtp = localhost wasn't working and I had to change that to the mail server name.  Now forms are being submitted but I get form submit eror codes in the received emails :

The following error occurred in FormMail :
mail_failed
 **********
Error=Failed to send email

Once this error has been flagged PHP will not send user to the "thank you" htm page to show that the form submit was successful.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.