Autoenable maintenance mode in Laravel

I am using Laravel 5.6. sometime my server goes down, sometimes webserver(apache2) is ok but mysql server is down. in that case while opening application its showing me errors and exception(in case of mysql server down). how can i activate maintenance mode automatically when such thing happen. Thanks for your help in advance.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2VsbFeX
via IFTTT

تعليقات

المشاركات الشائعة من هذه المدونة

I am unable to figure out how to create payment collection request, after a form has been submitted in laravel

laravel, mysql transaction not working after failed one time