When the application is in maintenance, we can temporarily close the program, the specific use is to use
PHP Artisan Down
Artisan is a program in the root directory of Laravel, and when this command is executed, the app in the app/start/global.php file is called::d own function
When maintenance complete buckle, use PHP artisan up to enable the application
APP::d Own (function ()
{
Return Response::make ("Being Right back!", 503);
});
You can also use PHP artisan to generate key for 32 applications, in/app/config/app.php
The command is: PHP artisan key:generate
If the key is already set, then you can clear it first.
http://www.bkjia.com/PHPjc/821271.html www.bkjia.com true http://www.bkjia.com/PHPjc/821271.html techarticle when the application is in maintenance, we can temporarily close the program, the specific use is to use PHP artisan down artisan is the laravel root directory of a program, when the execution of this command ...