I know this going to be is a simple one but I've looked everywhere I can think and I'm totally stumped.
Whenever I browse to a php page, I get prompted to select which program the browser should use to open the file. IE also gives me a security warning about some files being unsafe. If I select notepad, the file comes through with the php tags still intact, as if they haven't been processed.
Using Mozilla Firebird, I get "you have chosen to open [filename] which is a: application/x-httpd-php". It's as if the browser doesn't know what to do with files of that type.
I'm running Apache 1.3.x on WinXP. I've installed PHP 4.3.0 as an Apache module. Apache seems fine about this and starts up OK without complaining.
The lines in my httpd.conf are:
LoadModule php4_module u:/php/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
I've checked that all the required dlls are in u:/php/ (php4apache.dll, php4ts.dll etc.).
All help would be gratefully appreciated ... and I'll write it down so I know for next time!
Thanks,
Andy