Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alpha's avatar

How to enable maintainance mode in production?

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

0 likes
2 replies
alpha's avatar

@etkimbia oh so we have to ssh into the server and then run that :D than's alot! works like a charm

2 likes

Please or to participate in this conversation.