Why can't production? be deployed with php artisan serve

after the development of the Laravel project is complete, I use nginx as the http server.

however, I have a problem that I don"t understand, which is Why can"t production? be deployed directly with php artisan serve

at present, I only know that nginx can do such things as Reverse Proxy and Load balancing, but if the traffic of the web site is very small and it is only deployed on one server, it seems that you don"t need to care about these things, so php artisan serve seems to be a feasible solution, doesn"t it?

I will teach you all.

Aug.13,2021

built-in Web Server

PHP 5.4.0, CLI SAPI provides a built-in Web server.

this built-in Web server is mainly used for local development and cannot be used in online production environments.

PHP: built-in Web Server-Manual- http://php.net/manual/zh/feat.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38599-2c10e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38599-2c10e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?