when run outputs:
php artisan serve --port=80 laravel development server started on http://localhost:80
how can make run in background, when exit console server stops.
short answer: don't
the web server artisan
uses php built-in web server, not use in scenario other development showcased excerpt built-in web server documentation:
warning web server designed aid application development. may useful testing purposes or application demonstrations run in controlled environments. not intended full-featured web server. should not used on public network.
the web server runs 1 single-threaded process, php applications stall if request blocked.
in production should using featured web server such nginx, apache, lighttpd, etc.
Comments
Post a Comment