Laravel默认页面空白

 背着蜗牛过子mz 发布于 2023-01-31 18:16

/var/log/apache2/error.log中没有错误.我使用composer安装了laravel.

"msg"是我的应用程序名称.当我访问localhost/msg /时,我可以看到以下列表:

[   ]   CONTRIBUTING.md 2014-01-18 18:14    145  
[DIR]   app/    2014-01-18 18:14     -   
[   ]   artisan 2014-01-18 18:14    2.4K     
[DIR]   bootstrap/  2014-01-18 18:14     -   
[   ]   composer.json   2014-01-18 18:14    697  
[   ]   composer.lock   2014-01-23 10:06     53K     
[   ]   phpunit.xml 2014-01-18 18:14    566  
[DIR]   public/ 2014-01-18 18:14     -   
[   ]   readme.md   2014-01-18 18:14    1.8K     
[   ]   server.php  2014-01-18 18:14    519  
[DIR]   vendor/ 2014-01-23 10:06     -   

当我访问localhost/msg/public /时,我得到一个空白页面(没有源代码).在apache日志中仍然没有恐怖.

除了通过composer的安装程序之外,我所做的只是msg文件夹中的git init.

任何的想法 ?我真的很困惑,没有任何错误.

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有