Level 2
@alpha — If you want your production server to be in maintenance mode, then you have to run
php artisan down
on your production server.
Also check this out: http://www.fullstack4u.com/laravel/laravel-5-enable-maintenance-mode/
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am using Forge to deploy my blog, how can i enable maintenance mode in production environment?
I know the command is
php artisan down
but when should i run it? I run on local env and then deploy it but it doesn't seem to work... How do we use it actually?
thank you
@alpha — If you want your production server to be in maintenance mode, then you have to run
php artisan down
on your production server.
Also check this out: http://www.fullstack4u.com/laravel/laravel-5-enable-maintenance-mode/
Please or to participate in this conversation.