You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/06/22 19:49:35 UTC

[GitHub] akrabat opened a new pull request #2415: Add PHP 7.1 as a kind

akrabat opened a new pull request #2415: Add PHP 7.1 as a kind
URL: https://github.com/apache/incubator-openwhisk/pull/2415
 
 
   This adds a new `php:7.1` kind to allow PHP actions like this:
   
   ```php
   <?php
   function main(array $args) : array
   {
       $name = $args["name"] ?? "stranger";
       $greeting = "Hello $name!";
       return ["greeting" => greeting];
   }
   ```
   
   The PHP runtime is based on the official `php:7.1-alpine` one with the following extensions added:
   
   - opcache
   - mysqli
   - pdo_mysql
   - pdo_pgsql
   - intl
   - bcmath
   - zip
   - gd
   - soap
   
   Two Composer is packages are also included:
   
   - `guzzlehttp/guzzle` - A very popular HTTP client
   - `ramsey/uuid` - The de facto UUID generator
   
   Suggestions welcome on what should be included in these lists (and of course on the code itself!)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services