<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace"><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Dec 11, 2024 at 2:39 PM Keith Smith via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Has anyone had the experience I just had.  Over maybe 6 weeks I spend 40 <br>
or more hours trying to learn and install PHP-FPM.  I did not know <br>
anything about PHP-FPM however I was told I needed it if I were to build <br>
a local (VirtualBox) LAMP server for development and testing.<br>
<br></blockquote><div><span class="gmail_default" style="font-family:monospace">Yes. Circa 2014 I did a commercial setup of a proprietary CMS (PHP/MySQL) with a PHP-FPM backend in AWS.</span></div><div><span class="gmail_default" style="font-family:monospace">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 </span><span style="font-family:monospace">(ro)</span><span style="font-family:monospace"> on the auto-scale servers<span class="gmail_default" style="font-family:monospace">, 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.</span></span></div><div><div class="gmail_default" style="font-family:monospace"></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I asked Chat how to configure a LAMP server to use FPM.  It spit out the <br>
config with instructions on how so go about getting things configured.   <br>
As I used what chat told me I would run into an issue.  Chat would help <br>
with more advice.<br>
<br></blockquote><div><span class="gmail_default" style="font-family:monospace">At that time, Google search was my ChatGPT; I had to mentally sieve through several how-tos and blogs to get it right. </span><span style="font-family:monospace">It took me about <span class="gmail_default" style="font-family:monospace">25-30 hours of searching, reading, setup, and testing.</span></span></div><div><span class="gmail_default" style="font-family:monospace"><div style="font-family:Arial,Helvetica,sans-serif"><div class="gmail_default" style="font-family:monospace">The website uptime was almost 100%. The only transient downtime I noted was the AWS load balancer barfing occasionally. </div><div class="gmail_default" style="font-family:monospace"><br></div></div></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I got really close maybe within the last week.<br>
<br>
It now works... Yikes!!!!!<br></blockquote><div><br></div><div class="gmail_default" style="font-family:monospace">Good for you.  Congratulations!</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
The good side is I know a lot more about Ubuntu!!!<br></blockquote><div><span class="gmail_default" style="font-family:monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace">Isn't it fun?</span> <span class="gmail_default" style="font-family:monospace"> I too learn a *lot* about AWS services.</span></div><div><span class="gmail_default" style="font-family:monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace">--</span></div><div><span class="gmail_default" style="font-family:monospace">Arun Khan</span></div><div><br></div></div></div>