OK - problem solved. Sort of. I discovered that I had accidentally installed PHP twice. Once on C:\PHP and once on D:\PHP. When I deleted the D installation, which it shouldn't have been using, I got an different error message. So I deleted both installations and re-installed a new one at C:\PHP. The error message changed again, but it still didn't work. Then I restored both C and D installations and for some unknown reason, it started working. As I just want to test PHP scripts for deployment elsewhere, I'm now happy, but I really don't know what the problem was. I guess it was some kind of conflict between the two installations (but they're still both there). I would investigate further, but I'm scared of breaking it and not being able to get it back.
|