News for hackers. Stuff that matters.
Re:PHP 8 by zexias on Thursday November 26, 2020 @11:50AM (#25221544)
The PHP doc advices you that the built-in server from PHP should be used only for development: https://www.php.net/manual/en/features.commandline.webserver.... But PHP-FPM is the most used nowadays, for sure.
Re:PHP 8 by kijin on Thursday November 26, 2020 @11:58AM (#25221644)
I find the built-in web server very useful for running tests. Instead of setting up Apache or nginx on every CI build, you just fire up the built-in web server and point your tests at it.
Re:PHP 8 by FranOntanaya on Friday November 27, 2020 @10:49AM (#25229589)
I use it for small scripted jobs on my own machine that have to go through a proxy, I start the built-in server on the proxy root and point the script to the localhost address.