it doesn't work with apache. maybe this
is why people use asp? ;-)
Or perhaps it is why people use Linux instead of Windows 98 ;-)
But anyway, it's not just simply adding those lines at the end of httpd.conf (btw; I failed on the first try, and somehow it worked when I put it ALL THE WAY down at the very end of httpd.conf, but the first attempt might have been a typo I'm not sure) It's also important to look at httpd.conf at a whole, e.g. check all the settings.
For instance, check your ServerName setting in httpd.conf mine is "localhost".
Check path settings, e.g. DocumentRoot.
Also be sure to check your error.log which you can find in Apache's logs directory.
This might shed some light on what's wrong.
The fact that calling a .php file opens a new (dos)window and just open PHP means the mime types are not working right.
Apache doesn't handle your .php call, and IE thinks it needs to start this.
Might be because of your previous attempts to install it for PWS. Make sure you don't have any mime-types set in Windows that influence this.
Ofcourse obvious, but just to be sure; Apache need to be started first before any attempt of loading a php file. The PHP files need to be within the htdocs directory.
Other than that, you could try to put a .php file in your c:\ root directory and (WITHOUT Apache loaded, so webservices down) double click the file.
Windows should open the "OPEN WITH" window, and let you choose which program to use to open this with.
If that's NOT the case, then it's definitely a mime-type problem.
If it does show you the "open with" window, e.g. Windows doesn't know how to handle this. Double check your Apache httpd.conf, just for the fun of it put the addition for PHP all the way down, and re-check all your paths.
Really... it SHOULD work fine!!! ;-)
I guess you could also try to remove the traces of the work previously done for PWS. That means manually removing the registry key you supposed to have previously installed for PWS.
If all fails and you get a reasonable error in your error.log from Apache, report it back here perhaps it will tell us more about the reason...
If you don't get any error logs from Apache, and you've done and checked all of the above, try posting the problem again here, but also in alt.php (newsgroup).