2323
2424## PHP versions
2525
26- This runtime provides PHP 8.1, 8.0 and 7.4.
26+ This runtime provides PHP 8.1, 8.0
2727
2828### Give it a try today
2929To use as a docker action
@@ -38,11 +38,6 @@ PHP 8.0:
3838wsk action update myAction myAction.php --docker openwhisk/action-php-v8.0:latest
3939```
4040
41- PHP 7.4:
42- ```
43- wsk action update myAction myAction.php --docker openwhisk/action-php-v7.4:latest
44- ```
45-
4641This works on any deployment of Apache OpenWhisk
4742
4843### To use on deployment that contains the runtime as a kind
@@ -58,19 +53,14 @@ PHP 8.0:
5853wsk action update myAction myAction.php --kind php:8.0
5954```
6055
61- PHP 7.4:
62- ```
63- wsk action update myAction myAction.php --kind php:7.4
64- ```
6556
6657### Local development
6758
6859```
6960./gradlew core:php8.1Action:distDocker
7061./gradlew core:php8.0Action:distDocker
71- ./gradlew core:php7.4Action:distDocker
7262```
73- This will produce the images ` whisk/action-php-v8.1 ` , ` whisk/action-php-v8.0 ` and ` whisk/action-php-v7.4 ` respectively.
63+ This will produce the images ` whisk/action-php-v8.1 ` and ` whisk/action-php-v8.0 ` respectively.
7464
7565Build and Push image
7666```
@@ -79,7 +69,7 @@ docker login
7969./gradlew core:php7.4Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
8070```
8171
82- Deploy OpenWhisk using ansible environment that contains the kinds ` php:8.1 ` , ` php:8.0 ` and ` php:7.4 `
72+ Deploy OpenWhisk using ansible environment that contains the kinds ` php:8.1 ` and ` php:8.0 `
8373Assuming you have OpenWhisk already deploy locally and ` OPENWHISK_HOME ` pointing to root directory of OpenWhisk core repository.
8474
8575Set ` ROOTDIR ` to the root directory of this repository.
@@ -110,10 +100,6 @@ docker push $user_prefix/action-php-v8.1
110100docker tag whisk/php8.0Action $user_prefix/action-php-v8.0
111101docker push $user_prefix/action-php-v8.0
112102```
113- ```
114- docker tag whisk/php7.4Action $user_prefix/action-php-v7.4
115- docker push $user_prefix/action-php-v7.4
116- ```
117103
118104Then create the action using your image from dockerhub
119105```
0 commit comments