Installed XAMPP 1.8.3-5 on my MAC OS X. Everything seems to be working fine (i.e. when I enter "http://localhost/xampp/" in browser, it takes me to XAMPP welcome page.)
I am trying to write PHP code in my text editor (tried two different ones -TextWrangler & Tincta) and the PHP code is not executing. When I run the code it simply displays all the code in the browser (Safari), including all brackets….every line of code is simply displayed exactly as I write it in the text editor.(ex. <?php echo "Hello"; ?> - will be displayed exactly like this in the browser.)….and I am saving with as a .php file.
All .html & .css & js files work just fine…..the only code that will not run is PHP.