Home > Backend Development > PHP Tutorial > 关于Laravel 4在ubuntu上的安装

关于Laravel 4在ubuntu上的安装

WBOY
Release: 2016-06-23 13:36:15
Original
854 people have browsed it

ubuntu上的apache和php,mysql都安装好了。我要安装Laravel 4,根据Laravel 中文社区的安装步骤,一步一步来。git和Composer,MCrypt PHP扩展都装好了,openssl也打开了。composer create-project laravel/laravel onepiece  这条命令也能下载Laravel 文件,但是在浏览器上 http://127.0.0.1/项目文件夹名/public,缺啥都没有,也没报错,求赐教!


回复讨论(解决方案)

php5.4以上环境,用Laravel内置server

php artisan serve

查看你的PHP版本,应该是版本太旧了

http://127.0.0.1/项目文件夹名/public
 用http://127.0.0.1/

遇到同样问题,求解!!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template