Support the ongoing development of Laravel.io →
Configuration
Last updated 2 years ago.
0

Check your apache error log, by default its /var/log/apache2/error.log

Also make sure that /path/to/laravel/public is the document root and not /path/to/laravel

Last updated 2 years ago.
0

Thanks,

Nothing can be found which points this error : The exact error that I see is this :

ErrorException (E_UNKNOWN)

file_put_contents(/var/www/html/cats/app/storage/sessions/dd412fdbc6afa42da845de509d0e356e08361b15): failed to open stream: Permission denied

Open: /var/www/html/cats/bootstrap/compiled.php
    }
    public function requireOnce($file)
    {
        require_once $file;
    }
    public function put($path, $contents)
    {
        return file_put_contents($path, $contents);
   }
    public function prepend($path, $data)

Roelof

Last updated 2 years ago.
0

You need to chmod app/storage to be writeable.

chmod -R 775 app/storage
Last updated 2 years ago.
0

Also done several times. If the app/storage is not 755 then php artisan serve would also not work,

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.