News for hackers. Stuff that matters.
Re:PHP 3.0 Final is out (1998) by Seattle3503 on Friday May 21, 2021 @06:30PM (#27240787)
> I’m still not certain even today, if anything exists that is faster to get a dynamic site up and running than PHP.

With PHP you can just start typing in your file and produce output. Even with lightweight frameworks like Flask there is boilerplate.

Re:PHP 3.0 Final is out (1998) by dimitrios1 on Friday May 21, 2021 @10:13PM (#27242639)
This ignores the monstrous complexity of setting up PHP (and php-fpm) on a host machine. I prefer fully contained targeted binaries these days.
Re:PHP 3.0 Final is out (1998) by innocenat on Friday May 21, 2021 @11:48PM (#27243239)
`apt install apache2 php libapache2-mod-php` will perfectly set up Apache with PHP all Debian-based distros. What's complex about that?

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.

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?
Re:PHP 3.0 Final is out (1998) by innocenat on Saturday May 22, 2021 @03:02PM (#27249323)
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.

Re:PHP 3.0 Final is out (1998) by tored on Monday May 24, 2021 @05:38AM (#27262514)
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.
Re:PHP 3.0 Final is out (1998) by FriedrichN on Saturday May 22, 2021 @08:39AM (#27245928)
I have set up PHP on Apache (both php-fpm and mod_php) and Nginx countless times on different Linux distros and never ran into problems. It might have to do with the fact that I have so much experience with web servers but it takes me only a few minutes to set it up on any Ubuntu/Debian based system (download time of the packages excluded).
Re:PHP 3.0 Final is out (1998) by osrec on Friday May 21, 2021 @10:57PM (#27242936)
PHP has to be one of the easiest set ups. Even more so nowadays if you're just grabbing a docker image...
Re:PHP 3.0 Final is out (1998) by robjan on Saturday May 22, 2021 @12:18AM (#27243405)
If you're on Windows you can just install XAMPP and it "just works".
Re:PHP 3.0 Final is out (1998) by welly on Sunday May 23, 2021 @04:54AM (#27253425)
Monstrous? It couldn't be any more simple, if you even have to go through the process of setting up PHP. Hosting options that support PHP are two a penny, probably literally.