MAMP - 不显示index.php
我已经从我必须处理的网站下载了 Public_html 文件夹并将其添加到 MAMP > htdocs。
然后,我输入 http://localhost:8888/ProjectName ,它会显示索引状态下的空白页面。 php。
MAMP 找不到index.php,我找不到解决方法。
相信,该网站在某些地方使用 smarty (tpl.php),但索引是 index.php
注意:我已禁用 // @require_once("config.inc.php"); // include "stored.function/db.inc";
看起来可行。怎样才能找到他们真正的出路呢?
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");
and it seems works. How can I find the real path for them?
// include "stored.function/db.inc";
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认情况下,MAMP 关闭错误报告。您需要编辑 /Applications/MAMP/conf/php5.3/php.ini 文件。
In default, MAMP comes with error reporting closed. You need to edit your /Applications/MAMP/conf/php5.3/php.ini file.