Martin
Martin

Reputation: 485

MAMP - does not show index.php

I have downloaded Public_html folder from a website that I have to work on and added it to MAMP > htdocs.

Then, I do type http://localhost:8888/ProjectName and it shows a blank page in state of index.php.

MAMP does not find the index.php and I can not find a way around it.

Believe, The website is using smarty (tpl.php) at some places but the index is index.php

NOTE: I have disable // @require_once("config.inc.php"); // include "stored.function/db.inc"; and it seems works. How can I find the real path for them?

Upvotes: 2

Views: 6882

Answers (1)

osm
osm

Reputation: 4218

In default, MAMP comes with error reporting closed. You need to edit your /Applications/MAMP/conf/php5.3/php.ini file.

Upvotes: 2

Related Questions