2424
2525## PHP versions
2626
27- This runtime provides PHP 8.0, 7.4 and 7.3 .
27+ This runtime provides PHP 8.0 and 7.4 .
2828
2929### Give it a try today
3030To use as a docker action
@@ -39,11 +39,6 @@ PHP 7.4:
3939wsk action update myAction myAction.php --docker openwhisk/action-php-v7.4:latest
4040```
4141
42- PHP 7.3:
43- ```
44- wsk action update myAction myAction.php --docker openwhisk/action-php-v7.3:latest
45- ```
46-
4742This works on any deployment of Apache OpenWhisk
4843
4944### To use on deployment that contains the runtime as a kind
@@ -59,29 +54,22 @@ PHP 7.4:
5954wsk action update myAction myAction.php --kind php:7.4
6055```
6156
62- PHP 7.3:
63- ```
64- wsk action update myAction myAction.php --kind php:7.3
65- ```
66-
6757### Local development
6858
6959```
7060./gradlew core:php8.0Action:distDocker
7161./gradlew core:php7.4Action:distDocker
72- ./gradlew core:php7.3Action:distDocker
7362```
74- This will produce the images ` whisk/action-php-v8.0 ` , ` whisk/action-php-v7.4 ` & ` whisk/action-php-v7.3 ` respectively.
63+ This will produce the images ` whisk/action-php-v8.0 ` and ` whisk/action-php-v7.4 ` respectively.
7564
7665Build and Push image
7766```
7867docker login
7968./gradlew core:php8.0Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
8069./gradlew core:php7.4Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
81- ./gradlew core:php7.3Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
8270```
8371
84- Deploy OpenWhisk using ansible environment that contains the kinds ` php:8.0 ` , ` php:7.4 ` & ` php:7.3 `
72+ Deploy OpenWhisk using ansible environment that contains the kinds ` php:8.0 ` and ` php:7.4 `
8573Assuming you have OpenWhisk already deploy locally and ` OPENWHISK_HOME ` pointing to root directory of OpenWhisk core repository.
8674
8775Set ` ROOTDIR ` to the root directory of this repository.
@@ -112,10 +100,6 @@ docker push $user_prefix/action-php-v8.0
112100docker tag whisk/php7.4Action $user_prefix/action-php-v7.4
113101docker push $user_prefix/action-php-v7.4
114102```
115- ```
116- docker tag whisk/php7.3Action $user_prefix/action-php-v7.3
117- docker push $user_prefix/action-php-v7.3
118- ```
119103
120104Then create the action using your image from dockerhub
121105```
0 commit comments