From cbed67d5aa7761884be713e8fcbdda6a5689fb62 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Thu, 10 Oct 2024 00:39:12 +0200 Subject: [PATCH] Create install-older-ioncube-loader-extensions.md --- ...install-older-ioncube-loader-extensions.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 website/docs/articles/user-experience/install-older-ioncube-loader-extensions.md diff --git a/website/docs/articles/user-experience/install-older-ioncube-loader-extensions.md b/website/docs/articles/user-experience/install-older-ioncube-loader-extensions.md new file mode 100644 index 00000000..590320ce --- /dev/null +++ b/website/docs/articles/user-experience/install-older-ioncube-loader-extensions.md @@ -0,0 +1,20 @@ +# How to Install Older Versions of Ioncube Loader Extensions for PHP + +Administrators can configure a custom link to a `.tar.gz` archive containing older Ioncube Loader versions. By default, the file does not exist, and the `opencli php-ioncube` script will download the latest versions from the Ioncube Loader website. + +Follow these steps to set up an older version of Ioncube Loader: + +1. **Create a directory named `ioncube`.** + +2. **Place the loader files in the directory.** + Inside the `ioncube` directory, add the loader files for each PHP version in the format: `ioncube_loader_lin_*.so` + +3. **Compress the directory into a `.tar.gz` archive.** + +4. **Upload the archive online.** +Upload the `.tar.gz` archive to a web-accessible location and copy the download link. + +5. **Set the download link.** +Add the link to the `/etc/openpanel/php/ioncube.txt` file. + +Once the link is set, all subsequent Ioncube Loader installations using the [opencli php-ioncube](https://dev.openpanel.com/cli/php.html#Enable-ioncube-loader) command will download the loader from the specified archive.