
Common errors installing Laravel
You exect to create your project and start coding with Laravel but if you obtain one of these errors you have to solve the problem before starting. I have found a couple of errors on Windows or Linux but nothing
Blank page
If you have a blank page when you visit the home page of your new Laravel application, you have to give the right permissions to the storage directory. This error happens especially on Linux.
Laravel 4
# Group Writable (Group, User Writable)
$ sudo chmod -R gu+w app/storage
# World-writable (Group, User, Other Writable)
$ sudo chmod -R guo+w app/storage
Laravel 5
# Group Writable (Group, User Writable)$ sudo chmod -R gu+w storage# World-writable (Group, User, Other Writable)$ sudo chmod -R guo+w storage
"Whoops, looks like something went wrong"
If you get this message:
copy .env.example
to.env
Now you will generate a new key:
php artisan key:generate
Done! Your laravel application must run correctly now.
"OpenSSL extension is required"
You have this error if you don't have the open sll extension on your PHP installation. On Windows \ XAMPP, open your php.ini:
extension=php_openssl.dll