Skip to content

Commit

Permalink
Merge pull request #138 from moufmouf/fix_pdo_in_doc
Browse files Browse the repository at this point in the history
Fixing PDO in doc
  • Loading branch information
moufmouf committed Jun 20, 2019
2 parents 9a920f7 + eca0c42 commit be77333
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ For both types, these extensions are **compiled in PHP** (cannot be disabled): m

Below is a list of extensions available in this image:

**Enabled by default:** apcu mysqli opcache pdo pdo_mysql redis zip soap
**Enabled by default:** apcu mysqli opcache pdo_mysql redis zip soap

**Available (can be enabled using environment variables):** amqp ast bcmath blackfire bz2 calendar dba ds enchant ev event exif mailparse gd gettext gmp gnupg igbinary imagick imap intl ldap mcrypt memcached mongodb pcntl pcov pdo_dblib pdo_pgsql pgsql pspell shmop snmp sockets swoole sysvmsg sysvsem sysvshm tidy wddx weakref(-beta) xdebug xmlrpc xsl yaml

Expand Down Expand Up @@ -167,7 +167,7 @@ PHP_EXTENSIONS=pgsql gettext imap sockets
If you are using the slim image, you can automatically compile the extensions using the `PHP_EXTENSIONS` ARG in your Dockerfile.

```Dockerfile
ARG PHP_EXTENSIONS="apcu mysqli opcache pdo pdo_mysql redis zip soap"
ARG PHP_EXTENSIONS="apcu mysqli opcache pdo_mysql redis zip soap"
FROM thecodingmachine/php:7.2-v2-slim-apache
# The build will automatically trigger the download and compilation
# of the extensions (thanks to a ONBUILD hook in the slim image)
Expand All @@ -183,7 +183,7 @@ first FROM):

```Dockerfile
# The PHP_EXTENSIONS ARG will apply to the "slim" image
ARG PHP_EXTENSIONS="apcu mysqli opcache pdo pdo_mysql zip soap"
ARG PHP_EXTENSIONS="apcu mysqli opcache pdo_mysql zip soap"

FROM thecodingmachine/php:7.2-v2-apache-node10 AS builder

Expand Down
2 changes: 1 addition & 1 deletion images.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
php_version: 7.2
compiled_php_extensions: mbstring ftp mysqlnd
enabled_php_extensions: apcu mysqli opcache pdo pdo_mysql redis zip soap
enabled_php_extensions: apcu mysqli opcache pdo_mysql redis zip soap
disabled_php_extensions: amqp ast bcmath blackfire bz2 calendar dba ds enchant ev event exif mailparse gd gettext gmp gnupg igbinary imagick imap intl ldap mcrypt memcached mongodb pcntl pcov pdo_dblib pdo_pgsql pgsql pspell shmop snmp sockets swoole sysvmsg sysvsem sysvshm tidy wddx weakref(-beta) xdebug xmlrpc xsl yaml
4 changes: 2 additions & 2 deletions utils/README.blueprint.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ PHP_EXTENSIONS=pgsql gettext imap sockets
If you are using the slim image, you can automatically compile the extensions using the `PHP_EXTENSIONS` ARG in your Dockerfile.

```Dockerfile
ARG PHP_EXTENSIONS="apcu mysqli opcache pdo pdo_mysql redis zip soap"
ARG PHP_EXTENSIONS="apcu mysqli opcache pdo_mysql redis zip soap"
FROM thecodingmachine/php:{{ $image.php_version }}-v2-slim-apache
# The build will automatically trigger the download and compilation
# of the extensions (thanks to a ONBUILD hook in the slim image)
Expand All @@ -153,7 +153,7 @@ first FROM):

```Dockerfile
# The PHP_EXTENSIONS ARG will apply to the "slim" image
ARG PHP_EXTENSIONS="apcu mysqli opcache pdo pdo_mysql zip soap"
ARG PHP_EXTENSIONS="apcu mysqli opcache pdo_mysql zip soap"

FROM thecodingmachine/php:7.2-v2-apache-node10 AS builder

Expand Down

0 comments on commit be77333

Please sign in to comment.