Has anyone had the experience I just had. Over maybe 6 weeks I spend 40
or more hours trying to learn and install PHP-FPM. I did not know
anything about PHP-FPM however I was told I needed it if I were to build
a local (VirtualBox) LAMP server for development and testing.
Yes. Circa 2014 I did a commercial setup of a proprietary CMS (PHP/MySQL) with a PHP-FPM backend in AWS.
The frontend was a CloudFlare WAF, the backend was AWS infra: load balancer connecting to a 3-5 (auto-scaling) Apache/PHP-FPM server pool, the CMS "DocumentRoot" on an NFS file share mounted (ro) on the auto-scale servers, MySQL on an RDS instance on a private network segment. Apache/PHP-FPM running on Ubuntu. All this was set up with a tight set of ACLs on each network segment.
I asked Chat how to configure a LAMP server to use FPM. It spit out the
config with instructions on how so go about getting things configured.
As I used what chat told me I would run into an issue. Chat would help
with more advice.
At that time, Google search was my ChatGPT; I had to mentally sieve through several how-tos and blogs to get it right. It took me about 25-30 hours of searching, reading, setup, and testing.
The website uptime was almost 100%. The only transient downtime I noted was the AWS load balancer barfing occasionally.
I got really close maybe within the last week.
It now works... Yikes!!!!!
Good for you. Congratulations!
The good side is I know a lot more about Ubuntu!!!
Isn't it fun? I too learn a *lot* about AWS services.
--
Arun Khan