2424
2525## PHP versions
2626
27- This runtime provides PHP 7.3, 7.2 and 7.1 .
27+ This runtime provides PHP 7.3 & 7.2 .
2828
2929### Give it a try today
3030To use as a docker action
@@ -39,11 +39,6 @@ PHP 7.2:
3939wsk action update myAction myAction.php --docker openwhisk/action-php-v7.2:latest
4040```
4141
42- PHP 7.1:
43- ```
44- wsk action update myAction myAction.php --docker openwhisk/action-php-v7.1: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,28 +54,21 @@ PHP 7.2:
5954wsk action update myAction myAction.php --kind php:7.2
6055```
6156
62- PHP 7.1:
63- ```
64- wsk action update myAction myAction.php --kind php:7.1
65- ```
66-
6757### Local development
6858```
6959./gradlew core:php7.3Action:distDocker
7060./gradlew core:php7.2Action:distDocker
71- ./gradlew core:php7.1Action:distDocker
7261```
73- This will produce the images ` whisk/action-php-v7.3 ` , ` whisk/action-php-v7.2 ` & ` whisk/action-php-v7.1 `
62+ This will produce the images ` whisk/action-php-v7.3 ` & ` whisk/action-php-v7.2 `
7463
7564Build and Push image
7665```
7766docker login
7867./gradlew core:php7.3Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
7968./gradlew core:php7.2Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
80- ./gradlew core:php7.1Action:distDocker -PdockerImagePrefix=$prefix-user -PdockerRegistry=docker.io
8169```
8270
83- Deploy OpenWhisk using ansible environment that contains the kinds ` php:7.3 ` , ` php:7.2 ` & ` php:7.1 `
71+ Deploy OpenWhisk using ansible environment that contains the kinds ` php:7.3 ` & ` php:7.2 `
8472Assuming you have OpenWhisk already deploy locally and ` OPENWHISK_HOME ` pointing to root directory of OpenWhisk core repository.
8573
8674Set ` ROOTDIR ` to the root directory of this repository.
@@ -111,10 +99,7 @@ docker push $user_prefix/action-php-v7.3
11199docker tag whisk/php7.2Action $user_prefix/action-php-v7.2
112100docker push $user_prefix/action-php-v7.2
113101```
114- ```
115- docker tag whisk/php7.1Action $user_prefix/action-php-v7.1
116- docker push $user_prefix/action-php-v7.1
117- ```
102+
118103Then create the action using your the image from dockerhub
119104```
120105wsk action update myAction myAction.php --docker $user_prefix/action-php-v7.3
0 commit comments