mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-11 19:41:16 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
554e979d0e | ||
|
|
ceabd15ee0 | ||
|
|
0e813e6070 | ||
|
|
04ad135df5 | ||
|
|
481d095b39 | ||
|
|
8e907edbdb | ||
|
|
36d9af44e9 | ||
|
|
09b60b78fb |
@@ -176,7 +176,7 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/doc/gmp || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: igbinary ----
|
||||
&& pecl install igbinary \
|
||||
&& pecl install igbinary-2.0.8 \
|
||||
&& docker-php-ext-enable igbinary \
|
||||
&& (rm -rf /usr/local/lib/php/test/igbinary || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/igbinary || true) \
|
||||
|
||||
@@ -176,7 +176,7 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/doc/gmp || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: igbinary ----
|
||||
&& pecl install igbinary \
|
||||
&& pecl install igbinary-2.0.8 \
|
||||
&& docker-php-ext-enable igbinary \
|
||||
&& (rm -rf /usr/local/lib/php/test/igbinary || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/igbinary || true) \
|
||||
|
||||
@@ -171,7 +171,7 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/doc/gmp || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: igbinary ----
|
||||
&& pecl install igbinary \
|
||||
&& pecl install igbinary-2.0.8 \
|
||||
&& docker-php-ext-enable igbinary \
|
||||
&& (rm -rf /usr/local/lib/php/test/igbinary || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/igbinary || true) \
|
||||
|
||||
@@ -186,7 +186,7 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/doc/gmp || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: igbinary ----
|
||||
&& pecl install igbinary \
|
||||
&& pecl install igbinary-2.0.8 \
|
||||
&& docker-php-ext-enable igbinary \
|
||||
&& (rm -rf /usr/local/lib/php/test/igbinary || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/igbinary || true) \
|
||||
|
||||
@@ -236,6 +236,7 @@ RUN set -x \
|
||||
# ---- Installing PHP Extension: memcache ----
|
||||
&& git clone https://github.com/websupport-sk/pecl-memcache /tmp/memcache \
|
||||
&& cd /tmp/memcache \
|
||||
&& git checkout origin/php7 \
|
||||
&& phpize \
|
||||
&& ./configure --with-zlib-dir=/usr \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
@@ -328,7 +329,7 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: pdo_sqlsrv ----
|
||||
&& pecl install pdo_sqlsrv \
|
||||
&& pecl install pdo_sqlsrv-5.3.0 \
|
||||
&& docker-php-ext-enable pdo_sqlsrv \
|
||||
&& (rm -rf /usr/local/lib/php/test/pdo_sqlsrv || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/pdo_sqlsrv || true) \
|
||||
@@ -392,7 +393,7 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/doc/sockets || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: sqlsrv ----
|
||||
&& pecl install sqlsrv \
|
||||
&& pecl install sqlsrv-5.3.0 \
|
||||
&& docker-php-ext-enable sqlsrv \
|
||||
&& (rm -rf /usr/local/lib/php/test/sqlsrv || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/sqlsrv || true) \
|
||||
|
||||
@@ -236,6 +236,7 @@ RUN set -x \
|
||||
# ---- Installing PHP Extension: memcache ----
|
||||
&& git clone https://github.com/websupport-sk/pecl-memcache /tmp/memcache \
|
||||
&& cd /tmp/memcache \
|
||||
&& git checkout origin/php7 \
|
||||
&& phpize \
|
||||
&& ./configure --with-zlib-dir=/usr \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
|
||||
@@ -237,6 +237,7 @@ RUN set -x \
|
||||
# ---- Installing PHP Extension: memcache ----
|
||||
&& git clone https://github.com/websupport-sk/pecl-memcache /tmp/memcache \
|
||||
&& cd /tmp/memcache \
|
||||
&& git checkout origin/php7 \
|
||||
&& phpize \
|
||||
&& ./configure --with-zlib-dir=/usr \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
|
||||
@@ -299,7 +299,7 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: pdo_sqlsrv ----
|
||||
&& pecl install pdo_sqlsrv-5.5.0preview \
|
||||
&& pecl install pdo_sqlsrv \
|
||||
&& docker-php-ext-enable pdo_sqlsrv \
|
||||
&& (rm -rf /usr/local/lib/php/test/pdo_sqlsrv || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/pdo_sqlsrv || true) \
|
||||
@@ -363,7 +363,7 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/doc/sockets || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: sqlsrv ----
|
||||
&& pecl install sqlsrv-5.5.0preview \
|
||||
&& pecl install sqlsrv \
|
||||
&& docker-php-ext-enable sqlsrv \
|
||||
&& (rm -rf /usr/local/lib/php/test/sqlsrv || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/sqlsrv || true) \
|
||||
@@ -425,7 +425,7 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/doc/wddx || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: xdebug ----
|
||||
&& pecl install xdebug-2.7.0RC1 \
|
||||
&& pecl install xdebug-2.7.0RC2 \
|
||||
&& docker-php-ext-enable xdebug \
|
||||
&& (rm -rf /usr/local/lib/php/test/xdebug || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/xdebug || true) \
|
||||
|
||||
60
README.md
60
README.md
@@ -1,21 +1,65 @@
|
||||
# PHP-FPM Docker images
|
||||
|
||||
[](https://travis-ci.org/devilbox/docker-php-fpm)
|
||||
[](https://github.com/devilbox/docker-php-fpm/releases)
|
||||
[](https://gitter.im/devilbox/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://github.com/devilbox/docker-php-fpm)
|
||||
[](https://microbadger.com/images/devilbox/php-fpm "php-fpm")
|
||||
|
||||
**[devilbox/docker-php-fpm](https://github.com/devilbox/docker-php-fpm)**
|
||||
[](https://github.com/devilbox/docker-php-fpm/releases)
|
||||
[](https://gitter.im/devilbox/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://devilbox.discourse.group)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
|
||||
This repository will provide you fully functional PHP-FPM Docker images in different flavours,
|
||||
versions and packed with different types of integrated PHP modules. It also solves the problem of [syncronizing file permissions](#unsynchronized-permissions) of mounted volumes between the host and the container.
|
||||
versions and packed with different types of integrated PHP modules. It also solves the problem of **[syncronizing file permissions](#unsynchronized-permissions)** of mounted volumes between the host and the container.
|
||||
|
||||
| Docker Hub | Upstream Project |
|
||||
|------------|------------------|
|
||||
| <a href="https://hub.docker.com/r/devilbox/php-fpm"><img height="82px" src="http://dockeri.co/image/devilbox/php-fpm" /></a> | <a href="https://github.com/cytopia/devilbox" ><img height="82px" src="https://raw.githubusercontent.com/devilbox/artwork/master/submissions_banner/cytopia/01/png/banner_256_trans.png" /></a> |
|
||||
|
||||
---
|
||||
#### Base Images
|
||||
|
||||
Have a look at the following Devilbox base images for which no official versions exist yet, but are required to serve as a foundation for this repository:
|
||||
|
||||
* [PHP-FPM 5.2](https://github.com/devilbox/docker-php-fpm-5.2)
|
||||
* [PHP-FPM 5.3](https://github.com/devilbox/docker-php-fpm-5.3)
|
||||
* [PHP-FPM 7.4](https://github.com/devilbox/docker-php-fpm-7.4)
|
||||
* [PHP-FPM 8.0](https://github.com/devilbox/docker-php-fpm-8.0)
|
||||
|
||||
#### Documentation
|
||||
|
||||
In case you seek help, go and visit the community pages.
|
||||
|
||||
<table width="100%" style="width:100%; display:table;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="33%" style="width:33%;"><h3><a target="_blank" href="https://devilbox.readthedocs.io">Documentation</a></h3></th>
|
||||
<th width="33%" style="width:33%;"><h3><a target="_blank" href="https://gitter.im/devilbox/Lobby">Chat</a></h3></th>
|
||||
<th width="33%" style="width:33%;"><h3><a target="_blank" href="https://devilbox.discourse.group">Forum</a></h3></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody style="vertical-align: middle; text-align: center;">
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_blank" href="https://devilbox.readthedocs.io">
|
||||
<img title="Documentation" name="Documentation" src="https://raw.githubusercontent.com/cytopia/icons/master/400x400/readthedocs.png" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a target="_blank" href="https://gitter.im/devilbox/Lobby">
|
||||
<img title="Chat on Gitter" name="Chat on Gitter" src="https://raw.githubusercontent.com/cytopia/icons/master/400x400/gitter.png" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a target="_blank" href="https://devilbox.discourse.group">
|
||||
<img title="Devilbox Forums" name="Forum" src="https://raw.githubusercontent.com/cytopia/icons/master/400x400/discourse.png" />
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a target="_blank" href="https://devilbox.readthedocs.io">devilbox.readthedocs.io</a></td>
|
||||
<td><a target="_blank" href="https://gitter.im/devilbox/Lobby">gitter.im/devilbox</a></td>
|
||||
<td><a target="_blank" href="https://devilbox.discourse.group">devilbox.discourse.group</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
#### Table of Contents
|
||||
|
||||
|
||||
@@ -1016,6 +1016,18 @@ extensions_available:
|
||||
5.2:
|
||||
type: pecl
|
||||
version: 2.0.7
|
||||
5.3:
|
||||
type: pecl
|
||||
version: 2.0.8
|
||||
5.4:
|
||||
type: pecl
|
||||
version: 2.0.8
|
||||
5.5:
|
||||
type: pecl
|
||||
version: 2.0.8
|
||||
5.6:
|
||||
type: pecl
|
||||
version: 2.0.8
|
||||
all:
|
||||
type: pecl
|
||||
imagick:
|
||||
@@ -1109,14 +1121,17 @@ extensions_available:
|
||||
7.0:
|
||||
type: git
|
||||
git_url: https://github.com/websupport-sk/pecl-memcache
|
||||
git_ref: origin/php7
|
||||
configure: --with-zlib-dir=/usr
|
||||
7.1:
|
||||
type: git
|
||||
git_url: https://github.com/websupport-sk/pecl-memcache
|
||||
git_ref: origin/php7
|
||||
configure: --with-zlib-dir=/usr
|
||||
7.2:
|
||||
type: git
|
||||
git_url: https://github.com/websupport-sk/pecl-memcache
|
||||
git_ref: origin/php7
|
||||
configure: --with-zlib-dir=/usr
|
||||
all:
|
||||
type: pecl
|
||||
@@ -1314,9 +1329,9 @@ extensions_available:
|
||||
already_avail: "{{ php_all_versions }}"
|
||||
pdo_sqlsrv:
|
||||
disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.4, 8.0]
|
||||
7.3:
|
||||
7.0:
|
||||
type: pecl
|
||||
version: 5.5.0preview
|
||||
version: 5.3.0
|
||||
build_dep: [unixodbc-dev]
|
||||
run_dep: [unixodbc]
|
||||
all:
|
||||
@@ -1455,9 +1470,9 @@ extensions_available:
|
||||
already_avail: "{{ php_all_versions }}"
|
||||
sqlsrv:
|
||||
disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.4, 8.0]
|
||||
7.3:
|
||||
7.0:
|
||||
type: pecl
|
||||
version: 5.5.0preview
|
||||
version: 5.3.0
|
||||
build_dep: [unixodbc-dev]
|
||||
run_dep: [unixodbc]
|
||||
all:
|
||||
@@ -1598,7 +1613,7 @@ extensions_available:
|
||||
version: 2.4.1
|
||||
7.3:
|
||||
type: pecl
|
||||
version: 2.7.0RC1
|
||||
version: 2.7.0RC2
|
||||
all:
|
||||
type: pecl
|
||||
xml:
|
||||
|
||||
Reference in New Issue
Block a user