Installing laravel 5.5 dev version on ubuntu
Installing Laravel 5.5
To install Laravel 5.5 dev version on Ubuntu server.Run below command on your terminal
composer create-project laravel/laravel=5.5 laravel5.5 dev-develop
Running above command will install Laravel 5.5 dev version on your server.
Checking installed version of Laravel
After installing Laravel , you can check your application veersion by running php artisan –version commnad on terminal.
php artisan --version Laravel Framework 5.5-dev
Changing storage folder permission to fix “The stream or file “/var/www/html/laravel5.5/storage/logs/laravel.log” could not be opened: failed to open stream: Permission denied” Error
sudo chmod -R guo+w storage
Run above command to change storage dirctory permission
If it still not work try below command to change the storage folder permission to 777
sudo chmod -R 777 storage
Also , change the permission of your bootstrap/cache directory , by running below command
sudo chmod -R 777 bootstrap/cache
You have successfully installed and configured Laravel 5.5 dev-develop version on Ubuntu server.
Now access it from the browser to check http://your-domain.com/laravel5.5/public/