I have a Mac OS in my PC.I am learning PHP and I want to install the PHP on my PC for my convenience. Now I am unable to install it because of some unwanted errors. I tried to install it but it failed. After that I restarted the server as well as the computer. But after that when I try to load the PHP script, it just shows the code. What I have done is place the code "<? Php phpinfo () ;?>" in a file in my sites folder. I made sure that the file ends with PHP. Also I tried to load the file but even it didn’t work. I think there is something going wrong with my installation process. Please help me out and let me know about it.
Bookmarks