L5.6 - php artisan down --allow=... not working
Hello everyone ,
Im using Laravel 5.6.15 . Nginx (Centos7)
. I can not put my site into maintenance mode with options : php artisan down --allow=127.0.0.1 --allow=192.168.0.0/16 .
Its say : The "--allow" option does not exist.
Here's my screenshot : https://i.imgur.com/NnDJV6b.png
What am I doing wrong?
Mmh it's working fine for me
$ php artisan down --allow=127.0.0.1 --allow=192.168.0.0/16
Application is now in maintenance mode.
$ php artisan up
Application is now live.
Are you sure you used this syntax? Also are you using the latest artisan file? If you upgraded in the past you might have missed something there!
Be sure of your version with : php artisan --version,
--allow do not exist for versions prior to 5.6
@Laramaxou The OP said it was using Laravel 5.6, so I think we good with that!
Is there anything new about the issue? I'm having the same problem with laravel 5.6.18. Seems so irational to me...
@davidpetrov As far as I know this works just fine. Have you tried upgrading to the latest Laravel 5.6.x?
Please or to participate in this conversation.