You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Windows | - | Windows Server 2019, 2022, 2025 | 5.6, 7.2, 7.3, 7.4 , 8.0, 8.1 |
@@ -127,8 +128,19 @@ TuxCare provides technical support according to the [support policy](https://tux
127
128
128
129
### Install ALT-PHP
129
130
130
-
The following steps are provided for both **RPM-based** (CentOS, CloudLinux, Oracle Linux, AlmaLinux, etc) and **DEB-based** (Debian, Ubuntu) systems. Please select the appropriate tab for your distribution.
131
+
The following steps are provided for both **RPM-based** (CentOS, CloudLinux, Oracle Linux, AlmaLinux, Amazon Linux 2, etc) and **DEB-based** (Debian, Ubuntu) systems. Please select the appropriate tab for your distribution.
131
132
133
+
:::tip
134
+
**Amazon Linux 2-specific preprequisities**. Before installing `alt-php`, make sure `libvpx` is installed. Amazon Linux 2 provides two version of libvpx: 1.9 (the default) and 1.3. `alt-php` requires 1.3 for compatibility with EL 7 systems like CentOS 7:
135
+
136
+
<CodeWithCopy>
137
+
138
+
```
139
+
sudo yum install libvpx-1.3.0
140
+
```
141
+
</CodeWithCopy>
142
+
143
+
:::
132
144
133
145
1. Download the installer script:
134
146
@@ -384,13 +396,13 @@ To display detailed information about the installed package, run the following c
384
396
385
397
Dependencies for a successful installation of alt packages may vary depending on the specific packages and their versions. However, typically, the system automatically manages dependencies and provides the necessary packages when installing selected components:
@@ -428,7 +440,7 @@ It's important to pay attention to any error messages provided by the system and
428
440
429
441
</template>
430
442
431
-
<template #Update_alt_php>
443
+
<template #Update_alt-php>
432
444
433
445
To update alt-php, you typically follow a process that involves using the package management tools provided by CloudLinux.
434
446
@@ -793,7 +805,7 @@ zlib
793
805
794
806
The **default.ini** file is important for configuring alt-php. It sets default PHP settings and can be used to enable default extensions. We do not modify this file on our side. You need to update **default.ini** yourself to adjust PHP settings based on your Endless Lifecycle Support (ELS) usage and specific requirements.
795
807
796
-
#### Enabling a module through `default.ini`
808
+
**Option 1: Enabling a module through `default.ini`**
797
809
798
810
To enable or disable extensions in your installed PHP version:
799
811
@@ -814,7 +826,7 @@ To enable or disable extensions in your installed PHP version:
814
826
815
827
3. Save the changes in the `default.ini` file.
816
828
817
-
#### Enabling a module through the configuration files
829
+
**Option 2: Enabling a module through the configuration files**
818
830
819
831
PHP extensions can also be enabled or disabled through their `.ini` configuration files. This method allows you to control which extensions are active for a specific PHP version or setup. If you're unsure which file to modify to enable a specific extension, start by checking the extension's own `.ini` file.
820
832
@@ -842,7 +854,7 @@ PHP extensions can also be enabled or disabled through their `.ini` configuratio
842
854
If the same extension is present in multiple `.ini` configuration files within the `/opt/alt/phpXY/etc/php.d/` directory, you may see warnings in PHP logs and possibly on your site.
843
855
:::
844
856
845
-
#### Enabling_a_module_through_the_CLI
857
+
**Option 3: Enabling a module through the CLI**
846
858
847
859
<CodeWithCopy>
848
860
@@ -1091,7 +1103,7 @@ This section contains information about available ELS for PHP OVAL streams that
1091
1103
1092
1104
Currently, we provide OVAL data for the following OS versions:
1093
1105
1094
-
* EL 7 (CentOS, CloudLinux, OracleLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_alt_php/el7/oval.xml)
1106
+
* EL 7 (CentOS, CloudLinux, OracleLinux, Amazon Linux 2, etc.): [oval.xml](https://security.tuxcare.com/oval/els_alt_php/el7/oval.xml)
1095
1107
* EL 8 (AlmaLinux, CentOS, CloudLinux, OracleLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_alt_php/el8/oval.xml)
1096
1108
* EL 9 (AlmaLinux, CentOS, CloudLinux, etc.): [oval.xml](http://security.tuxcare.com/oval/els_alt_php/el9/oval.xml)
0 commit comments