I mean, not to add a layer of complexity for you, but I think embracing docker and containers would vastly simplify what you're doing (or trying to do) ... I was incredibly intimidated by docker, until I forced myself to do it, and then like most tech things, I found it to be quite simple. 

I'm certainly not an expert, but I'm proficient enough for my homelab.

I think it would make things easier for you.

---
Thanks,
Alexander

Sent from my Google Pixel 7 Pro

On Fri, Dec 6, 2024, 16:43 <techlists@phpcoderusa.com> wrote:
Hi,

Was not able to get a PHP script to create a text file.  Worked on it
way too long.

I discovered I do not need PHP-FPM.

I can take the user created during the Linux install that is sudo and
add it to the www-data group, set ownership and permissions accordingly
and everything works.  PHP can create/modify/save/delete a text file.

Only thing I have to do is set permissions and ownership for any PHP
script created by VSC.

Looks like an easier solution.

For now I am done with PHP-FPM.

Keith






On 2024-12-05 10:53, Snyder, Alexander J wrote:
> Okay, seriously though, it's easy. Go setup a RedHat account. Then go
> to developer.redhat.com [1] and do that flow. I don't immediately
> remember what that requires, but it's fairly straightforward and free.
> I only have to revisit that flow once per year, and I have trouble
> remembering what I did last week.
>
> You can then navigate their site and download the RHEL iso and create
> a VM from it. During the setup you can register your VM, or you can do
> it later from the CLI.
>
> Let me know if you have any issues.
>
> ---
> Thanks,
> Alexander
>
> Sent from my Google Pixel 7 Pro
>
> On Thu, Dec 5, 2024, 10:43 Snyder, Alexander J
> <alexander@snyderfamily.co> wrote:
>
>> Yeah. Use RHEL Proper. It's the tits.
>>
>> ---
>> Thanks,
>> Alexander
>>
>> Sent from my Google Pixel 7 Pro
>>
>> On Thu, Dec 5, 2024, 10:39 Keith Smith via PLUG-discuss
>> <plug-discuss@lists.phxlinux.org> wrote:
>>
>>> Hi,
>>>
>>> As mentioned before I used to use CentOS as a development and
>>> testing
>>> web server.
>>>
>>> As I recall it was simple to configure a virtual host.
>>>
>>> 1) create the docroot off the home directory like this
>>> /home/<user-name>/public_html/
>>> 2) Create an Apache Virtual host configuration file.  I recall
>>> having
>>> one "large" Apache configuration file that contained all of my
>>> virtual
>>> hosts.
>>>
>>> I'm a PHP developer not a system administrator.  All these Ubuntu
>>> PHP-FPM configuration issues are causing me to re-consider Ubuntu
>>> as a
>>> server... YIKES!!
>>>
>>> I want to keep things simple so I can get onto my PHP coding
>>> projects.
>>>
>>> Any Thoughts?
>>>
>>> Thanks!!
>>> Keith
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> Links:
> ------
> [1] http://developer.redhat.com