I was trying to run index.php within owncloud folder. It means, like xampp, we keep all our files within htdocs and run file using browser like localhost://owncloud/index.php..
I am trying to learn how we can do it here.. I am still in learning phase ...
Still, I don't know the exact way or we can't do it ..
MAMP is running in MAC. I placed owncloud folder inside htdocs.
When I run "http://localhost:8888/owncloud/" in browser .. it is showing folder list after owncloud login page.
I tried to remove all files and folder and just kept index.php ( "echo 'For Testing'"), it showed me the folder structure rather than 'For Testing' in the browser.
Believe, I need some configuration for display in the browser.
I don't think that you should run owncloud on a MAC. If you still want to do that you really should seek for some help from the support of that MAMP thing.