You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/12/17 16:44:40 UTC

[incubator-openwhisk-website] branch master updated: Update for PHP 7.3 runtime (#357)

This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 6cd2b68  Update for PHP 7.3 runtime (#357)
6cd2b68 is described below

commit 6cd2b68f4197a9e280253e076990f8e8f5cf6f0d
Author: Rob Allen <ro...@akrabat.com>
AuthorDate: Mon Dec 17 16:44:36 2018 +0000

    Update for PHP 7.3 runtime (#357)
---
 _includes/code/hello.php                    | 1 -
 _includes/code/manifest-for-helloPhp-2.yaml | 2 +-
 _layouts/documentation.html                 | 4 ++--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/_includes/code/hello.php b/_includes/code/hello.php
index b914e6e..ce75126 100644
--- a/_includes/code/hello.php
+++ b/_includes/code/hello.php
@@ -6,4 +6,3 @@ function main(array $args) : array
     echo $greeting;
     return ["greeting" => $greeting];
 }
-?>
diff --git a/_includes/code/manifest-for-helloPhp-2.yaml b/_includes/code/manifest-for-helloPhp-2.yaml
index 55d2e2e..203faf0 100644
--- a/_includes/code/manifest-for-helloPhp-2.yaml
+++ b/_includes/code/manifest-for-helloPhp-2.yaml
@@ -11,4 +11,4 @@ packages:
                         echo $greeting;
                         return ["greeting" => $greeting];
                     }
-                runtime: php:7.1
+                runtime: php:7.3
diff --git a/_layouts/documentation.html b/_layouts/documentation.html
index c4bd63a..744343a 100644
--- a/_layouts/documentation.html
+++ b/_layouts/documentation.html
@@ -203,7 +203,7 @@ layout: default
           <li><a href="https://github.com/apache/incubator-openwhisk-runtime-go#apache-openwhisk-runtimes-for-go">Go</a> - OpenWhisk runtime for Go lang</li>
           <li><a href="https://github.com/apache/incubator-openwhisk-runtime-java#apache-openwhisk-runtimes-for-java">Java</a> - OpenWhisk runtime for Java 8</li>
           <li><a href="https://github.com/apache/incubator-openwhisk-runtime-nodejs#apache-openwhisk-runtimes-for-nodejs">JavaScript</a> - OpenWhisk runtime for Node.js v6 and v8</li>
-          <li><a href="https://github.com/apache/incubator-openwhisk-runtime-php#apache-openwhisk-runtimes-for-php">PHP</a> - OpenWhisk runtime for PHP 7.2 and 7.1</li>
+          <li><a href="https://github.com/apache/incubator-openwhisk-runtime-php#apache-openwhisk-runtimes-for-php">PHP</a> - OpenWhisk runtime for PHP 7.3, 7.2 and 7.1</li>
           <li><a href="https://github.com/apache/incubator-openwhisk-runtime-python#apache-openwhisk-runtimes-for-python">Python</a> - OpenWhisk runtime for Python 2.7 and 3</li>
           <li><a href="https://github.com/apache/incubator-openwhisk-runtime-ruby#apache-openwhisk-runtimes-for-ruby">Ruby</a> - OpenWhisk runtime for Ruby 2.5</li>
           <li><a href="https://github.com/apache/incubator-openwhisk-runtime-swift#apache-openwhisk-runtimes-for-swift">Swift</a> - OpenWhisk runtime for Swift 3 and 4</li>
@@ -1310,7 +1310,7 @@ $ jar cvf hello.jar Hello.class
           <a class="indexable" id="php-runtime"></a>
           <h5>OpenWhisk Runtime for PHP</h5>
           <p>
-            OpenWhisk supports <strong>PHP 7.2</strong> and <strong>PHP 7.1</strong> runtimes where PHP 7.2 being default pick by wsk CLI and Whisk Deploy.
+            OpenWhisk supports <strong>PHP 7.3</strong>, <strong>PHP 7.2</strong> and <strong>PHP 7.1</strong> runtimes where PHP 7.3 is the default pick by wsk CLI and Whisk Deploy.
             If you wish to learn more about PHP runtime, please visit
             <a href="https://github.com/apache/incubator-openwhisk-runtime-php/blob/master/README.md">PHP Runtime GitHub Repository</a>.
           </p>