Is it possible to turn Laravel 5 service on and off without php artisan up and down commands when my site is hosted?
What I've done:
Route::get('site/shutdown', function(){ return Artisan::call('down'); }); Route::get('site/live', function(){ return Artisan::call('up'); });
The first route is working fine. But when I call the site / live, the site is still turned off. What can cause this problem?
source share