Hacker News new | ask | show | jobs
by __app_dev__ 2346 days ago
Here are some links for [libapache2-mod-php] vs [php-fpm] for Apache (both Pro and Con plus install links).

For the first link where the developer switched to [php-fpm] his site could only handle 30 users at a time so his server side framework must have been very slow. As I mentioned the script from the post allows for 2500+ requests-per-second (tested 100 concurrent users) and allows for many more users with tweaking.

The setup for [php-fpm] with Apache is somewhat complex so I would recommend using nginx if you want to use [php-fpm].

https://smddzcy.com/posts/2017-09-16/migrating-from-mod-php-...

https://www.reddit.com/r/PHP/comments/4bi9a4/why_is_mod_php_...

https://tecadmin.net/install-apache-php-fpm-ubuntu-18-04/

https://serverfault.com/questions/645755/differences-and-dis...

https://stackoverflow.com/questions/47916133/need-to-install...

https://www.linode.com/docs/web-servers/apache/running-fastc...