Hello everyone. I hope everyone is doing okay. So I have a friend who has been wanting to start his own small company. I decided to help him bring up a Nethserver to run his Website / Mail and some other items that are made possible by Nethserver. We have decided to stick with NethServer 7.9 for the time being as we want certain things in NS8 to mature before we try to use it for what we are using it for.
In saying that we have been challenged with getting Wordpress using some plugins because he is only running PHP7.3. It tells us that we need to upgrade PHP to PHP7.4 and above. Really all we want it to upgrade PHP to PHP7.4 at the very least, or upgrade it to 8.0 / 8.1 / 8.2 / or 8.3 if possible.
This will allow us to move forward with him building his website to his spec.
I have tried to look through the forums to find upgrading PHP7.3 to PHP7.4 and above. I have found many articles for challenges other people have, but not just install PHP and activating the new version of PHP for Wordpress to use.
I found the following -
PHP by software collections (*it says This module won’t be updated the official way now is cockpit with the virtualhosts panel )
So when I finalized this and got Wordpress running I then noticed I needed to update PHP to at least PHP7.4 to allow newer plugins to stay secure and have the plugins work.
When trying to do so I found out that the official way to update it now is in cockpit through the virtualhosts panel. When using the steps in the Nethserver Wiki for Wordpress (blog), it doesn’t seem to be setup in a vhost.
Is there a way to transfer the existing Wordpress install to a newly created vhost or adjust a newly created vhost to point to Wordpress so I can use/change the PHP version in vhost, or do I have to start from scratch and make a vhost first and then load Wordpress into it somehow?
Is there a post or a wiki that goes in to more detail on how to do this that you can share with me specifically? I did some searching for the current location of the Wordpress, but I am uncertain of where Wordpress installed to at the moment. I looked under /var/www/html/ and /var/lib/nethserver/vhost/ but the Wordpress install doesn’t seem to be there.
Oops. Sorry @stephdl . I didn’t realize you were on vacation. My bad. Get back to relaxing and family. Don’t worry about this. I do appreciate you chiming in. I will look into what you relayed to me. Thanks again.
Understand. I still appreciate all you do. Glad you got a breather from all the work. As stated somewhere above It’s always good to get away and have sometime to reflect, relax and family time. Also glad to have you back.