Thanks for posting. Can you provide some docs or links that show to use libapache2-mod-php for Apache? Most docs I've seen show using it for Apache.
For nginx the script is using php-fpm.
During testing with this script on a clean os I am able to achieve around 2500 to 6500 requests per second on the lowest cost VM's with both setup options (Apache or nginx) and 25k+ requests per second on higher cost servers.
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].
To run download then call the script: wget https://www.fastsitephp.com/downloads/create-fast-site.sh sudo bash create-fast-site.sh
Additional Docs in multiple langugages are here: https://www.fastsitephp.com/en/documents/install-php-on-linu...