Home  >  Article  >  Backend Development  >  安装Laravel时遇到的问题

安装Laravel时遇到的问题

WBOY
WBOYOriginal
2016-06-06 20:37:59968browse

今天安装利用https://github.com/overtrue/latest-laravel安装Laravel后访问public没有显示You Have Arrived.
安装Laravel时遇到的问题
访问public出现路径而不是出现You Have Arrived.

安装Laravel时遇到的问题
这是httpd-vhosts的设置
求各位大侠解答

回复内容:

今天安装利用https://github.com/overtrue/latest-laravel安装Laravel后访问public没有显示You Have Arrived.
安装Laravel时遇到的问题
访问public出现路径而不是出现You Have Arrived.

安装Laravel时遇到的问题
这是httpd-vhosts的设置
求各位大侠解答

设置引导文件为index.php。。。这不是laravel的问题。。是楼主不会配置apache

你好,首先DocumentRoot的路径应该设置到laravel的public目录下,还有就是你的Apache可能索引文件没有配置好.

没有设置默认index文件,导致的这个问题,最好还有一个关于.htaccess的配置也可以看一下手册。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn