Skip to content

Commit 54a959d

Browse files
authored
Add PHP 8.4 support across documentation and configuration (#98)
* fix(docs): update README to include PHP 8.4 in available versions * fix(schema): update PhpVersion description to include PHP 8.4 * fix(schema): add PHP 8.4 to version map in download-php-fpm script * fix(schema): add PHP 8.4 to the version map in translation file * fix(schema): add PHP 8.4 option to the virtual hosts dropdown
1 parent 98d216f commit 54a959d

File tree

7 files changed

+11
-6
lines changed

7 files changed

+11
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ Send a test HTTP request to the webserver backend service:
163163

164164
a vhost can be created by the api-cli command
165165

166-
We use a container with nginx and another container for the php-fpm configuration (actually availlable PHP 7.4,8.0,8.1,8.2,8.3)
166+
We use a container with nginx and another container for the php-fpm configuration (actually availlable PHP 7.4,8.0,8.1,8.2,8.3,8.4)
167167

168168
Launch `create-vhost`, by setting the following parameters:
169-
- `PhpVersion`: Set the version of php needed, can be `''(no php), 7.4,8.0,8.1,8.2,8.3`
169+
- `PhpVersion`: Set the version of php needed, can be `''(no php), 7.4,8.0,8.1,8.2,8.3,8.4`
170170
- `ServerNames`: set the domain name of the vhost, it must be an array
171171
- `MemoryLimit`: This sets the maximum amount of memory that a script is allowed to allocate. use `MB`
172172
- `AllowUrlfOpen` : This option enables the URL-aware fopen wrappers that enable accessing URL object like files. use `enabled|disabled`
@@ -223,7 +223,7 @@ The TCP port of the php-fpm port is unique, each virtualhost gets a nex tcp port
223223

224224
Launch `update-vhost`, by setting the following parameters:
225225
- `port`: The tcp port of php-fpm, it is used as an ID for the virtualhost
226-
- `PhpVersion`: Set the version of php needed, can be `''(no php), 7.4,8.0,8.1,8.2,8.3`
226+
- `PhpVersion`: Set the version of php needed, can be `''(no php), 7.4,8.0,8.1,8.2,8.3,8.4`
227227
- `ServerNames`: set the domain name of the vhost, it must be an array
228228
- `MemoryLimit`: This sets the maximum amount of memory that a script is allowed to allocate. use `MB`
229229
- `AllowUrlfOpen` : This option enables the URL-aware fopen wrappers that enable accessing URL object like files. use `enabled|disabled`

imageroot/actions/create-vhost/validate-input.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"format": "regex",
5454
"pattern":"(^[0-9][.][0-9]$|^$)",
5555
"title": "PhpVersion",
56-
"description": "Could be 7.4 or 8.0 or 8.1 or 8.2 or 8.3 or ''"
56+
"description": "Could be 7.4 or 8.0 or 8.1 or 8.2 or 8.3 or 8.4 or ''"
5757
},
5858
"MemoryLimit": {
5959
"type": "integer",

imageroot/actions/get-configuration/validate-output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"format": "regex",
103103
"pattern": "(^[0-9][.][0-9]$|^$)",
104104
"title": "PhpVersion",
105-
"description": "Could be 7.4 or 8.0 or 8.1 or 8.2 or 8.3 or ''"
105+
"description": "Could be 7.4 or 8.0 or 8.1 or 8.2 or 8.3 or 8.4 or ''"
106106
},
107107
"MemoryLimit": {
108108
"type": "integer",

imageroot/actions/update-vhost/validate-input.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"format": "regex",
5656
"pattern": "(^[0-9][.][0-9]$|^$)",
5757
"title": "PhpVersion",
58-
"description": "Could be 7.4 or 8.0 or 8.1 or 8.2 or 8.3 or ''"
58+
"description": "Could be 7.4 or 8.0 or 8.1 or 8.2 or 8.3 or 8.4 or ''"
5959
},
6060
"MemoryLimit": {
6161
"type": "integer",

imageroot/bin/download-php-fpm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ version_map[8.0]=8.0.30
1616
version_map[8.1]=8.1.31
1717
version_map[8.2]=8.2.26
1818
version_map[8.3]=8.3.14
19+
version_map[8.4]=8.4.6
1920
# Check if major_version is mapped properly
2021
if [[ -z "${version_map[$minor_version]}" ]]; then
2122
echo "PHP version $minor_version is not supported" 1>&2

ui/public/i18n/en/translation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"PHP_81":"PHP 8.1",
5151
"PHP_82":"PHP 8.2",
5252
"PHP_83":"PHP 8.3",
53+
"PHP_84":"PHP 8.4",
5354
"container_version_will_be_installed":"Changing PHP version will install a new PHP container: configuration might take a while",
5455
"select_php_version":"Version of PHP",
5556
"AllowUrlfOpen":"URL-aware fopen wrappers",

ui/src/views/VirtualHosts.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@
264264
<cv-dropdown-item value="8.3">{{
265265
$t("virtualhosts.PHP_83")
266266
}}</cv-dropdown-item>
267+
<cv-dropdown-item value="8.4">{{
268+
$t("virtualhosts.PHP_84")
269+
}}</cv-dropdown-item>
267270
</cv-dropdown>
268271
<!-- advanced options -->
269272
<cv-accordion ref="accordion">

0 commit comments

Comments
 (0)