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";
// @require_once("config.inc.php"); // include "stored.function/db.inc";
and it seems works. How can I find the real path for them?
In default, MAMP comes with error reporting closed. You need to edit your /Applications/MAMP/conf/php5.3/php.ini file.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.