I'm a longtime c# Microsoft .net developer who is very new to XAMPP, new to PHP, and Mac OS, so this might be a silly question. But I'm trying to figure out how to run a php file without having to drop a copy into the XAMPP\htdocs folder. If I just open the file in safari, i only see the php code itself. Of course, if I copy it to that folder then I can browse to http://127.0.0.1/myfolder/myfile.php and it works. It seems pretty archaic and cumbersome to have to copy my whole application to what seems like a system folder just to be able to "play" it. Or maybe i'm spoiled by Visual Studio in being able to edit code, run it, and debug it all in one IDE. Or maybe I'm using the wrong IDE, i'm using AptanaStudio3 which works pretty well otherwise. Hopefully, I've just overlooked a setting and will feel silly shortly.
I'm using XAMPP 1.8.3-2 on a macbook pro running OS X 10.9.1 Mavericks. I do have Apache server running, but unlike the PC version that I have running on my PC, it does not show any kind of PHP engine running. Maybe I don't have that installed??? I have not turned on MySQL or ProFTPD, but I've only turned on Apache.
Thanks in advance!