You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ PHP is a server-side scripting language designed for web development, but which
34
34
35
35
### About these images:
36
36
* based on Docker Official Images (DOI): [DockerHub](https://hub.docker.com/_/php/) / [GitHub](https://github.com/docker-library/php)
37
+
* For easy install the extensions and get a smaller images it use [php-extension-installer](https://github.com/mlocati/docker-php-extension-installer).
38
+
* For information about PHP and extensions see here: [php.net](https://php.net) and [pecl.php.net](https://pecl.php.net).
37
39
* The official base Images have the following PHP extensions enabled by default (check with: ```php -m```): ```Core ctype curl date dom fileinfo filter hash iconv json libxml mbstring mysqlnd openssl pcre PDO pdo_sqlite Phar posix random readline Reflection session SimpleXML sodium SPL sqlite3 standard tokenizer xml xmlreader xmlwriter 'Zend OPcache' zlib```
38
40
* These images extend the basic images with additional PHP extensions, for example: SQL-Databases, gd, imagick, ldap and more. For details see in dockerfiles.
39
41
**Images with `-slim` suffix have only the PHP extensions like offical base image, but with entrypoint script for some settings and other adjustments. This is the base image for all others.*
@@ -44,11 +46,14 @@ PHP is a server-side scripting language designed for web development, but which
44
46
**Images containing `debian` or `alpine` specify the operating system.*
45
47
**Images containing `doi` based on [DOI (Docker Official Images)](https://github.com/docker-library/php) like the other images in this repository, but without an entrypoint script, so the environment variables from this README are not supported. Mount your configuration file(s)
46
48
**Images containing `dhi` based on [DHI (Docker Hardened Images)](https://dhi.io/catalog/php) and NOT based on Docker Offical Images (from Community). This DHI do not have a shell and therefore NO entrypoint script. The environment variables listed in the README therefore do not supported here. Mount your configuration file(s). A example docker-compose setup you can find [here](https://github.com/Tob1as/docker-php/tree/master/examples/fpm-nginx-dhi).*
47
-
* For easy install the extensions and get a smaller images it use [php-extension-installer](https://github.com/mlocati/docker-php-extension-installer).
48
-
* For information about PHP and extensions see here: [php.net](https://php.net) and [pecl.php.net](https://pecl.php.net).
49
+
* UID:GID:
50
+
* Alpine: 82 (www-data)
51
+
* Debian: 33 (www-data)
52
+
* DHI (Alpine/Debian): 65532 (nonroot)
53
+
* When switching from one Version/OS to another, execute `chown -R <UID>:<GID> <FOLDER>` before starting the respective container.
0 commit comments