Re:PHP 3.0 Final is out (1998)
by forgotpwd16 on Saturday May 22, 2021 @08:54AM
(#27246038)
How bad will be running the built-in web server on public network?
You meant PHP built-in server (php -S)? It doesn't even support concurrent connection.
Neither mod_php nor php-fpm is related to the built-in server though. Both are designed for production.
Built-in web server has experimental concurrent support since PHP 7.4
> Set the PHP_CLI_SERVER_WORKERS environment variable to the number of desired workers before starting the server
https://www.php.net/manual/en/features.commandline.webserver...
Re:PHP 3.0 Final is out (1998)
by candiodari on Saturday May 22, 2021 @03:11PM
(#27249432)
This has been debugged for 20+ years now. Not bad at all.
And if you really need php-fpm (which you should, anyway), at least in Ubuntu (never set up on other distro), the boilerplate nginx config is there.