1.找到Apache,配置httpd.conf,打开下面模块
2.找到tp5下public目录下的.htaccess文件在index.php后面加个?
3.打开网页测试http://www.tp5.com/index/Index/index =>http://www.tp5.com/index.php/index/Index/index
1.找到Apache,配置httpd.conf,打开下面模块
2.找到tp5下public目录下的.htaccess文件在index.php后面加个?
3.打开网页测试http://www.tp5.com/index/Index/index =>http://www.tp5.com/index.php/index/Index/index