I am new to dis php programming. Everything was working fine with php on my Desktop wherein I have PHP + Apache installed and the OS I am using on it is Windows XP. And now I got this new laptop from my Dad which is preinstalled with Windows 7 Professional. So I installed PHP and Apache on it, and everything was installed fine without any problem. But there is this one problem that I cannot save any file with .php extension in htdocs folder of Apache. It gives error saying You are not Authorized or something like that.
So I have to save all my files on desktop and then copy to htdocs.
And that's fine. But when I try to run a normal PHP program I am not able to I get the code itself in the browser instead of the output.
Any idea why it is behaving like this.?
Bookmarks