Rumah > pembangunan bahagian belakang > tutorial php > Install laravel 5 on ubuntu server

Install laravel 5 on ubuntu server

WBOY
Lepaskan: 2016-06-23 13:25:32
asal
836 orang telah melayarinya

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
Salin selepas log masuk

3) Installed composer:

curl -sS https://getcomposer.org/installer | phpsudo mv composer.phar /usr/local/bin/composer
Salin selepas log masuk

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

cd /var/www/htmlcomposer create-project laravel/laravel --prefer-dist
Salin selepas log masuk

5) Added write permission s to the storage folder:

sudo chmod 777 /var/www/html/laravel/storage
Salin selepas log masuk

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!



sumber:php.cn
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Tutorial Popular
Lagi>
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan