RedHat for home lab PHP development
techlists at phpcoderusa.com
techlists at phpcoderusa.com
Sat Dec 7 07:14:59 MST 2024
I know little about Docker. Thank you for the advice.
I'm trying to keep things Simple Stupid. When I complete my project I
will reveal why. In a prior email I stated I think things have become
way too complicated. I am on a journey to reverse some of that.
My target audience for my blog and YouTube channel are beginners that
are in part why I want to avoid things like Docker. I think Docker is
an advanced skill.
As it is to become an entry level PHP developer one needs to develop
some familiarity with HTML, CSS, JavaScript, AJAX, PHP, and MySQL. Oh
and do not forget object PHP. And add an editor like Visual Studio Code.
Add to that a development environment that consists of Linux, Apache,
MySQL, and PHP. It seems a lot of folks like those LAMP emulators that
are installed on Windows and MAC. I do not.
With all my experience I find all the newer developments to be a little
much.
Given my failed experience with PHP-FPM I think I will put that into the
advanced bucket. My friend who owns a hosting company tells me PHP-FPM
is a must. I think there is a simpler way.
I think there is a lot to learn here - not just tech but but the whole
echo system.
This has become a learning curve!!
Thanks!!
Keith
On 2024-12-06 19:34, Snyder, Alexander J wrote:
> 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 at 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] [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 at 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 at 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 at 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
>
>
> Links:
> ------
> [1] http://developer.redhat.com
More information about the PLUG-discuss
mailing list