I've been running Apache, PHP, mySQL, etc. in the past on WindowsXP and Vista. I've recently installed Windows 7 RC. Problem is that when I point to
http://localhost (or
http://www.myserver.dev) it only echoes the php command but doesn’t display the PHP information screen. It’s as if PHP isn’t running and it doesn’t know what to do with the command. In my Apache service monitor I see Apache/2.2.11 (Win32) PHP/5.2.9-2 so it appears that it is running. I’ve gone over all config changes in my files with a fine tooth comb but cannot find anything amiss.
I’m at my wit’s end! I’ve reinstalled three times now. The last time, I went back and redownloaded the distribution files. I’ve gone through this with a fine-tooth comb and every time, the result is the same.
I’m running a Windows7, build 7100 64 bit machine but with all 32 bit apps for web development. All the latest Microsoft patches are installed. IIS is turned off and so is UAC (temporarily). I’ve even set all executables to run as administrator and turned on compatibility mode.
When I did a WAMP install, the results were the same and there were no material differences between config files.
I've even tried older versions of Apache and PHP, and even tried PHP 5.3.
On a whim I thought it may be an IE8 issue so I installed Firefox. Same result, I get my PHP code echoed back.
No errors are generated.
Anyone have any ideas where I should look next?