首页 > 后端开发 > php教程 > Install laravel 5 on ubuntu server

Install laravel 5 on ubuntu server

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
发布: 2016-06-23 13:25:32
原创
887 人浏览过

Install laravel 5 on ubuntu server

http://laravel.io/forum/06-10-2015-solved-install-laravel-5-on-ubuntu-server

https://www.digitalocean.com/community/questions/how-to-install-laravel-5-on-ubuntu-nginx-server    

https://www.digitalocean.com/community/tutorials/how-to-install-laravel-with-an-nginx-web-server-on-ubuntu-14-04           

Hello,I'm trying to learn how to use laravel, but I am encountering a problem with the installation.I'm trying to install laravel on ubuntu server, so I:

1) Installed basic LAMP-stack

2) installed openssl and mcrypt:

sudo apt-get install opensslsudo apt-get install php5-mcryptsudo php5enmod mcrypt
登录后复制

3) Installed composer:

curl -sS https://getcomposer.org/installer | phpsudo mv composer.phar /usr/local/bin/composer
登录后复制

4) Went to my html folder and created a new laravel project using composer:

cd /var/www/htmlcomposer create-project laravel/laravel --prefer-dist
登录后复制

5) Added write permission s to the storage folder:

sudo chmod 777 /var/www/html/laravel/storage
登录后复制

Now when I launch a browser and navigate to localhost/laravel/public a see a blanc page.

Also, Error reporting in php.ini is set to E_ALL.

I'm really struggling for quite some time now..Can someone help me with this? What am I missing?

Thanks!



本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板