简体   繁体   中英

Serve the lumen project after closing the terminal in linux?

i am working on the lumen a framework by the Laravel. i can run the project through linux terminal by the following command

php artisan serve

the project works fine when terminal is opened but when i close the terminal the protect stop working.

Any command to run the project in the background ?

when you close the terminal, you kill the process started by it.
NOT SURE but maybe this could help:
php artisan serve &

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM