File tree Expand file tree Collapse file tree 6 files changed +28
-6
lines changed Expand file tree Collapse file tree 6 files changed +28
-6
lines changed Original file line number Diff line number Diff line change 11TYPO3 Docker Boilerplate Changelog
22==================================
33
4+ UPCOMING
5+ -------------------------------------
6+ - Renamed ` PHP_UID ` and ` PHP_GID ` to ` EFFECTIVE_UID ` and ` EFFECTIVE_GID `
7+
483.3.1 - 2015-05-11
59-------------------------------------
610- Fixed ssl certificate
Original file line number Diff line number Diff line change @@ -37,8 +37,10 @@ MYSQL_DATABASE=typo3
3737
3838# PHP Settings
3939PHP_TIMEZONE=UTC
40- PHP_UID=1000
41- PHP_GID=1000
40+
41+ # Permission settings
42+ EFFECTIVE_UID=1000
43+ EFFECTIVE_GID=1000
4244
4345# Default cli user (should be www-data)
4446CLI_USER=www-data
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ # ##################
4+ # UID/GID
5+ # ##################
6+
7+ # # Set uid/gid for www-data user
8+ usermod --uid " ${EFFECTIVE_UID} " --shell /bin/bash --home /home daemon > /dev/null
9+ groupmod --gid " ${EFFECTIVE_GID} " daemon > /dev/null
10+
311# ##################
412# httpd.conf
513# ##################
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33# # Set uid/gid for www-data user
4- usermod --uid " ${PHP_UID } " --shell /bin/bash --home /home www-data > /dev/null
5- groupmod --gid " ${PHP_GID } " www-data > /dev/null
4+ usermod --uid " ${EFFECTIVE_UID } " --shell /bin/bash --home /home www-data > /dev/null
5+ groupmod --gid " ${EFFECTIVE_GID } " www-data > /dev/null
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ # ##################
4+ # UID/GID
5+ # ##################
6+
7+ # # Set uid/gid for www-data user
8+ usermod --uid " ${EFFECTIVE_UID} " --shell /bin/bash --home /home nginx > /dev/null
9+ groupmod --gid " ${EFFECTIVE_GID} " nginx > /dev/null
10+
311# ##################
412# vhost
513# ##################
Original file line number Diff line number Diff line change @@ -125,8 +125,8 @@ MYSQL_PASSWORD | Password for initial MySQL user
125125MYSQL_DATABASE | Initial created MySQL database
126126<br > |
127127PHP_TIMEZONE | Timezone (date.timezone) setting for PHP (cli and fpm)
128- PHP_UID | Effective UID for www-data (cli and fpm)
129- PHP_GID | Effective GID for www-data (cli and fpm)
128+ EFFECTIVE_UID | Effective UID for php, fpm und webserver
129+ EFFECTIVE_GID | Effective GID for php, fpm und webserver
130130
131131## Xdebug Remote debugger (PhpStorm)
132132
You can’t perform that action at this time.
0 commit comments