wodby / drupal-php

PHP docker container image for Drupal
https://wodby.com/stacks/drupal
MIT License
61 stars 79 forks source link

Add OAuth extension to php #12

Closed samlerner closed 7 years ago

samlerner commented 7 years ago

We need the OAuth php extension for our docker4drupal setup.

https://pecl.php.net/package/oauth

Is there a way to add this ourselves to our docker-compose.yml, or does it need to be part of the main package?

pprishchepa commented 7 years ago

OAuth has been added but only for PHP7 because there is no oauth alpine package for PHP5.6

mcdruid commented 7 years ago

To install the OAuth extension in the PHP5.6 container:

# apk add --update php5-dev alpine-sdk autoconf && pecl install oauth-1.2.3

csandanov commented 7 years ago

@mcdruid PHP 5.6 already comes with installed OAuth extension https://github.com/wodby/php/blob/master/5.6/Dockerfile#L117

mcdruid commented 7 years ago

@csandanov thanks!