码迷,mamicode.com
首页 > 系统相关 > 详细

Install laravel 5 on ubuntu server

时间:2015-10-04 19:42:06      阅读:300      评论:0      收藏:0      [点我收藏+]

标签:problem   server   ubuntu   forum   trying   

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/html
composer 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!



本文出自 “Mr_Computer” 博客,请务必保留此出处http://caochun.blog.51cto.com/4497308/1700141

Install laravel 5 on ubuntu server

标签:problem   server   ubuntu   forum   trying   

原文地址:http://caochun.blog.51cto.com/4497308/1700141

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!