Skip to content

Commit 61f056e

Browse files
authored
Merge pull request #530 from sboldyreva/claude/elsdoc-225
ALT-PHP: add Alpine
2 parents 9f9a616 + 616ac8d commit 61f056e

2 files changed

Lines changed: 46 additions & 28 deletions

File tree

docs/.vuepress/components/ELSRTechnology.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const runtimes = [
7979
},
8080
{
8181
name: "PHP",
82-
versions: "5.2 | 5.3 | 5.4 | 5.5 | 5.6 | 7.0 | 7.1 | 7.2 | 7.3 | 7.4 | 8.0 | 8.1 | 8.2",
82+
versions: "5.1 | 5.2 | 5.3 | 5.4 | 5.5 | 5.6 | 7.0 | 7.1 | 7.2 | 7.3 | 7.4 | 8.0 | 8.1 | 8.2",
8383
link: "./php/",
8484
icon: "/images/php.webp",
8585
},

docs/els-for-runtimes/php/README.md

Lines changed: 45 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@ alt-php provides a more flexible and convenient environment for working with dif
2626

2727
<template #Active_Support>
2828

29-
| OS | Package Type | OS Version |
30-
| :----------------------------------------------------------------------: | :----------: | :-------------------------------: |
31-
| EL 7 ( Amazon Linux 2, CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 7.x |
32-
| EL 8 ( AlmaLinux, CentOS, CentOS Stream, CloudLinux, Oracle Linux, etc.) | RPM | 8.x |
33-
| EL 9 ( AlmaLinux, CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 9.x |
34-
| EL 10 ( AlmaLinux, CloudLinux, Oracle Linux, etc.) | RPM | 10.x |
35-
| Ubuntu | DEB | 16.04, 18.04, 20.04, 22.04, 24.04 |
36-
| Debian | DEB | 10, 11, 12, 13 |
37-
| Windows | - | Windows Server 2019, 2022, 2025 |
38-
39-
**For supported PHP versions, see [tuxcare.com/cve-tracker](https://tuxcare.com/cve-tracker/).**
29+
| OS | Package Type | OS Version | PHP versions |
30+
| :----------------------------------------------------------------------: | :----------: | :-------------------------------: | :-----------------------------------------------------------------------: |
31+
| EL 7 ( Amazon Linux 2, CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 7.x | 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 |
32+
| EL 8 ( AlmaLinux, CentOS, CentOS Stream, CloudLinux, Oracle Linux, etc.) | RPM | 8.x | 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 |
33+
| EL 9 ( AlmaLinux, CentOS, CloudLinux, Oracle Linux, etc.) | RPM | 9.x | 5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 |
34+
| EL 10 ( AlmaLinux, CloudLinux, Oracle Linux, etc.) | RPM | 10.x | 5.3, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 |
35+
| Ubuntu | DEB | 16.04 | 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 |
36+
| Ubuntu | DEB | 18.04, 20.04, 22.04, 24.04 | 5.2, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 |
37+
| Debian | DEB | 10, 11, 12 | 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 |
38+
| Debian | DEB | 13 | 5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 |
39+
| Alpine Linux | APK | 3.22, 3.23 | 7.3, 7.4, 8.0, 8.1 |
40+
| Windows | - | Windows Server 2019, 2022, 2025 | 5.2, 5.4, 5.6, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 |
4041

4142
**Supported architecture:** x86_64 (64-bit) on Linux
4243

@@ -80,9 +81,9 @@ TuxCare provides additional security support for PHP versions after the end of s
8081
* Root or `sudo` access to the server
8182
* **Amazon Linux 2-specific.** Before installing `alt-php`, make sure `libvpx` is installed. Amazon Linux 2 provides two versions of libvpx: 1.9 (the default) and 1.3. `alt-php` requires 1.3 for compatibility with EL 7 systems like CentOS 7:
8283

83-
```
84-
sudo yum install libvpx-1.3.0
85-
```
84+
```
85+
sudo yum install libvpx-1.3.0
86+
```
8687

8788
</ELSPrerequisites>
8889

@@ -92,7 +93,8 @@ sudo yum install libvpx-1.3.0
9293

9394
<CodeTabs :tabs="[
9495
{ title: 'RPM', content: `wget https://repo.alt.tuxcare.com/alt-php-els/install-els-alt-php-rpm-repo.sh` },
95-
{ title: 'DEB', content: `wget https://repo.alt.tuxcare.com/alt-php-els/install-els-alt-php-deb-repo.sh` }
96+
{ title: 'DEB', content: `wget https://repo.alt.tuxcare.com/alt-php-els/install-els-alt-php-deb-repo.sh` },
97+
{ title: 'APK', content: `wget https://repo.alt.tuxcare.com/alt-php-els/install-els-alt-php-apk-repo.sh` }
9698
]" />
9799

98100
2. Run the installer script with your license key
@@ -101,7 +103,8 @@ sudo yum install libvpx-1.3.0
101103

102104
<CodeTabs :tabs="[
103105
{ title: 'RPM', content: `sh install-els-alt-php-rpm-repo.sh --license-key XXX-XXXXXXXXXXXX` },
104-
{ title: 'DEB', content: `bash install-els-alt-php-deb-repo.sh --license-key XXX-XXXXXXXXXXXX` }
106+
{ title: 'DEB', content: `bash install-els-alt-php-deb-repo.sh --license-key XXX-XXXXXXXXXXXX` },
107+
{ title: 'APK', content: `sh install-els-alt-php-apk-repo.sh --license-key XXX-XXXXXXXXXXXX` }
105108
]" />
106109

107110
3. Install a PHP version
@@ -110,14 +113,16 @@ sudo yum install libvpx-1.3.0
110113

111114
<CodeTabs :tabs="[
112115
{ title: 'RPM', content: `yum groupinstall alt-php73` },
113-
{ title: 'DEB', content: `apt-get install alt-php73-meta` }
116+
{ title: 'DEB', content: `apt-get install alt-php73-meta` },
117+
{ title: 'APK', content: `apk add alt-php73` }
114118
]" />
115119

116120
To install all versions at the same time:
117121

118122
<CodeTabs :tabs="[
119123
{ title: 'RPM', content: `yum groupinstall alt-php` },
120-
{ title: 'DEB', content: `apt-get install alt-php` }
124+
{ title: 'DEB', content: `apt-get install alt-php` },
125+
{ title: 'APK', content: `apk add alt-php` }
121126
]" />
122127

123128
4. Verify the installation
@@ -126,7 +131,8 @@ sudo yum install libvpx-1.3.0
126131

127132
<CodeTabs :tabs="[
128133
{ title: 'RPM', content: `rpm -qa | grep alt-php` },
129-
{ title: 'DEB', content: `dpkg -l | grep alt-php` }
134+
{ title: 'DEB', content: `dpkg -l | grep alt-php` },
135+
{ title: 'APK', content: `apk info | grep alt-php` }
130136
]" />
131137

132138
</ELSSteps>
@@ -143,7 +149,8 @@ To check whether the package is installed and see its current version, use the f
143149

144150
<CodeTabs :tabs="[
145151
{ title: 'RPM', content: `sudo yum list installed | grep php` },
146-
{ title: 'DEB', content: `dpkg -l | grep php` }
152+
{ title: 'DEB', content: `dpkg -l | grep php` },
153+
{ title: 'APK', content: `apk info -v | grep alt-php` }
147154
]" />
148155

149156
</template>
@@ -154,14 +161,16 @@ To find out which groups/meta-packages are available for installation:
154161

155162
<CodeTabs :tabs="[
156163
{ title: 'RPM', content: `sudo yum group list` },
157-
{ title: 'DEB', content: `apt list -a | grep alt-php` }
164+
{ title: 'DEB', content: `apt list -a | grep alt-php` },
165+
{ title: 'APK', content: `apk search alt-php` }
158166
]" />
159167

160168
To get a list of packages of a specific group or meta package:
161169

162170
<CodeTabs :tabs="[
163171
{ title: 'RPM', content: `sudo yum groupinfo alt-phpXY` },
164-
{ title: 'DEB', content: `apt-cache showpkg alt-phpXY` }
172+
{ title: 'DEB', content: `apt-cache showpkg alt-phpXY` },
173+
{ title: 'APK', content: `apk info -R alt-phpXY` }
165174
]" />
166175

167176
Replace `XY` with a version of alt-php.
@@ -176,7 +185,10 @@ Replace `XY` with a version of alt-php.
176185
{ title: 'RPM', content: `sudo yum check-update` },
177186
{ title: 'DEB', content:
178187
`sudo apt-get update
179-
apt list --upgradable` }
188+
apt list --upgradable` },
189+
{ title: 'APK', content:
190+
`sudo apk update
191+
apk list --upgradable` }
180192
]" />
181193

182194
2. Update packages:
@@ -185,14 +197,16 @@ Replace `XY` with a version of alt-php.
185197

186198
<CodeTabs :tabs="[
187199
{ title: 'RPM', content: `sudo yum update alt-php*` },
188-
{ title: 'DEB', content: `sudo apt-get upgrade alt-php*` }
200+
{ title: 'DEB', content: `sudo apt-get upgrade alt-php*` },
201+
{ title: 'APK', content: `sudo apk upgrade 'alt-php*'` }
189202
]" />
190203

191204
* Update a specific version:
192205

193206
<CodeTabs :tabs="[
194207
{ title: 'RPM', content: `sudo yum groupupdate alt-phpXY` },
195-
{ title: 'DEB', content: `sudo apt-get upgrade alt-phpXY` }
208+
{ title: 'DEB', content: `sudo apt-get upgrade alt-phpXY` },
209+
{ title: 'APK', content: `sudo apk upgrade alt-phpXY` }
196210
]" />
197211

198212
Replace `XY` with a version of alt-php.
@@ -203,7 +217,8 @@ Replace `XY` with a version of alt-php.
203217

204218
<CodeTabs :tabs="[
205219
{ title: 'RPM', content: `sudo yum search alt-package-name` },
206-
{ title: 'DEB', content: `sudo apt search alt-package-name` }
220+
{ title: 'DEB', content: `sudo apt search alt-package-name` },
221+
{ title: 'APK', content: `apk search alt-package-name` }
207222
]" />
208223

209224
Replace `alt-package-name` with the specific name of the package you are looking for.
@@ -999,7 +1014,10 @@ The PHP core includes many built-in extensions that provide basic functionality,
9991014

10001015
<WhatsNext hide-title>
10011016

1002-
* ![](/images/shield.webp) [Machine-readable security data](../machine-readable-security-data/) — OVAL, CSAF, Errata, and RSS feeds for PHP ELS
1017+
* ![](/images/eye.webp) [CVE Tracker](https://tuxcare.com/cve-tracker/?product=PHP) — Track vulnerability fixes and updates
1018+
* ![](/images/shield.webp) [Available fixes](https://tuxcare.com/cve-tracker/fixes?product=PHP) — Patched versions and changelogs
1019+
* ![](/images/clipboard-notes.webp) [Supported components](https://tuxcare.com/cve-tracker/products?product=PHP) — Full list of product parts covered by ELS
1020+
* ![](/images/shield.webp) [Machine-readable security data](/els-for-runtimes/machine-readable-security-data/#php) — OVAL, CSAF, Errata, and RSS feeds for PHP ELS
10031021
* ![](/images/clipboard-notes.webp) [PHP Changelog](https://changelog.cloudlinux.com/) — latest updates, fixes, and enhancements for ALT-PHP
10041022

10051023
</WhatsNext>

0 commit comments

Comments
 (0)