Set user permissions | Artisan command will not run in code but works fine on command line

后端 未结 2 1957
既然无缘
既然无缘 2020-12-04 01:04

I have a route that is essentially a \"hook\" to run an Artisan command, it accepts some get parameters as arguments:

Route::get(\'hook\', funct         


        
2条回答
  •  一向
    一向 (楼主)
    2020-12-04 01:44

    You need to set up directory permissions correctly.

    sudo chown -R :www-data

提交回复
热议问题