Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • 'Failed to open stream: Permission denied' error - Laravel

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 2.67k
    Comment on it

    Some time when we want to access our public folder then we get the error "Failed to open stream: Permission denie' error - Laravel" . So when we get this error .Do not think much we have to clear our cache and just give permission to our folder and we will do by using php artisan.

    Issue: if someone who is new in Laravel and trying to open http://localhost/test/public/ and I got Error in exception handler Then

    Solution:By using below code we will solve this issue.

    php artisan cache:clear 
    
    chmod -R 777 app/storage 
    
    composer dump-autoload
    

    By this way we can solve *'Failed to open stream: Permission denied' * error using laravel 4.x

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: