I am running Joomla! 3.x, and have several subdomains, like
shop.mydomain.com
library.mydomain.com
videos.mydomain.com
and many years ago I installed the Virtual Domains extension so that I could have one Joomla! installation handling all of these, with some shared templates & content, and so on.
Unfortunately, the original creators of Virtual Domains (janguo-de) seem to have stopped maintaining it a few years ago, and it no longer supports current versions of PHP. Hence my website is stuck using an old version of PHP (this has been one thing holding me back from moving to Joomla! 4.x*). Furthermore, the extension is currently marked "This extension has been unpublished for the following reason: UR1: Broken Links," in the official Extensions Directory.
I thought this was an almost insurmountable obstacle until, by chance, I discovered that some kind and skilful individuals have forked the original code to improve it, including making it compatible with new versions of PHP.
So, my two questions are, which fork/branch to use, and how to use it.
Forks & branches
Maybe "PHP 7.1 and later" means effectively PHP 7.x?
Would "supports PHP8" also mean it works with older versions of PHP, including PHP 7.x?
Which should be better to use?
Downloading file(s), and building /installing package
The simplest option would be to follow the advice as at caincoulton, "Download the latest release and install the package in Joomla." Unfortunately there's no latest release.
Probably I can download something from GitHub. What? How?
Do I need to build it?
Should I upload it to the server that hosts my website, and then somehow use Phing? It doesn't seem quite enough information to say, "Just typing `phing` will build the package." Surely it has to be something like `phing [package-name]`, or at least I would have to be doing this in a particular subdirectory?
Or should I download whatever files from GitHub, then build on Windows (with merely `php phing-latest.phar`???), and then upload those built files (as a package???) to the website's server?
Or, I could go for the package from 2018 produced by smehrbrodt.
Importantly, I would like that this merely updates the existing (old, original) Virtual Domains extension that's already installed. By no means would I want to have to reconfigure everything from scratch.
-----
* Another thing is that I never managed to get WAMP working fully, so all my changes get made on the live website....
shop.mydomain.com
library.mydomain.com
videos.mydomain.com
and many years ago I installed the Virtual Domains extension so that I could have one Joomla! installation handling all of these, with some shared templates & content, and so on.
Unfortunately, the original creators of Virtual Domains (janguo-de) seem to have stopped maintaining it a few years ago, and it no longer supports current versions of PHP. Hence my website is stuck using an old version of PHP (this has been one thing holding me back from moving to Joomla! 4.x*). Furthermore, the extension is currently marked "This extension has been unpublished for the following reason: UR1: Broken Links," in the official Extensions Directory.
I thought this was an almost insurmountable obstacle until, by chance, I discovered that some kind and skilful individuals have forked the original code to improve it, including making it compatible with new versions of PHP.
So, my two questions are, which fork/branch to use, and how to use it.
Forks & branches
- smehrbrodt — A fork that supports PHP 7.1 and later. 18 stars. 9 forks. Released once (2018).
- philbertphotos — 1 very small change from smehrbrodt. 1 stars. 0 forks. No releases.
- caincoulton — A fork that supports PHP8. Supports Joomla 4. 4 stars. 0 forks. No releases.
- tkempf, master-alt (default) branch — A fork that supports PHP 7.1 and later. Supports Joomla 4. 0 stars. 0 forks. No releases.
- tkempf, master branch — Identical to caincoulton. Supports Joomla 4. 0 stars. 0 forks. No releases.
Maybe "PHP 7.1 and later" means effectively PHP 7.x?
Would "supports PHP8" also mean it works with older versions of PHP, including PHP 7.x?
Which should be better to use?
Downloading file(s), and building /installing package
The simplest option would be to follow the advice as at caincoulton, "Download the latest release and install the package in Joomla." Unfortunately there's no latest release.
Probably I can download something from GitHub. What? How?
Do I need to build it?
Should I upload it to the server that hosts my website, and then somehow use Phing? It doesn't seem quite enough information to say, "Just typing `phing` will build the package." Surely it has to be something like `phing [package-name]`, or at least I would have to be doing this in a particular subdirectory?
Or should I download whatever files from GitHub, then build on Windows (with merely `php phing-latest.phar`???), and then upload those built files (as a package???) to the website's server?
Or, I could go for the package from 2018 produced by smehrbrodt.
Importantly, I would like that this merely updates the existing (old, original) Virtual Domains extension that's already installed. By no means would I want to have to reconfigure everything from scratch.
-----
* Another thing is that I never managed to get WAMP working fully, so all my changes get made on the live website....
Statistics: Posted by Diver001 — Wed Feb 07, 2024 2:03 am