温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Install laravel 5 on ubuntu server

发布时间:2020-07-27 23:34:11 来源:网络 阅读:427 作者:_Mr_Computer_ 栏目:开发技术

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!



向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI