在apache直接访问thinkphp框架里index.php页面的链接,报错The requested URL /index.php was not found on this server.路径怎么改啊,index.php代码if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !');// 开启调试模式 建议开发阶段开启 部署阶段注释或者设为falsedefine('APP_DEBUG',True);define('HTML_PATH', '.');// 定义应用目录define('APP_PATH','./Application/');// 引入ThinkPHP入口文件require './ThinkPHP/ThinkPHP.php';// 亲^_^ 后面不需要任何代码了 就是如此简单控制台信息GET http://localhost/Public/css/bootstrap.min.css index.php:9 GET http://localhost/Public/css/home/main.css index.php:17 GET http://localhost/Public/images/logo.png 404 (Not Found)index.php:120 GET http://localhost/Public/js/jquery.js index.php:121 GET http://localhost/Public/js/count.js index.php:33 GET http://localhost/upload/2016/03/13/56e51fc82b13a.png 404 (Not Found)
- 1 回答
- 0 关注
- 3465 浏览
添加回答
举报
0/150
提交
取消