Laravel showing “Failed to clear cache. Make sure you have the appropriate permissions”

后端 未结 12 2296
逝去的感伤
逝去的感伤 2020-12-10 00:58

Laravel was displaying to me \"Access denied for user \'homestead\'@\'localhost\' (using password: YES)\". One solution for this was clearing the cache and the config cache

12条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-10 01:05

    You should update the permission using the below command-/

    sudo chown -R www-data:www-data ./storage

    This will resolve your below issue

提交回复
热议问题