I relatively new to PHP. Please help. I installed Apache, PHP. Then when I tried to test it by opening a test.php file with just the phpinfo() function in it as follows:
It doesn't execute the php file which is <? phpinfo(); ?>
instead, sends it for download and when I tried the same with a different filename like test.php3 or test.php4.
it just puts the file content on the browser but doesn't execute the function "phpinfo()"
Please let me know, if I have to change something in the php.ini file.