Skip to content

Commit f186e73

Browse files
committed
Release 7.7.1 - See CHANGELOG.md
1 parent 8522073 commit f186e73

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 7.7.1 2023-11-28 <dave at tiredofit dot ca>
2+
3+
### Changed
4+
- Remove `BOTH` Option for PHP_FPM_LISTEN_TYPE
5+
6+
17
## 7.7.0 2023-11-25 <dave at tiredofit dot ca>
28

39
### Added

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,12 @@ When `PHP_FPM_CONTAINER_MODE` set to `nginx` the `PHP_FPM_LISTEN_PORT` environme
194194
| `PHP_APC_SHM_SIZE` | APC Cache Memory size - `0` to disable | `128M` |
195195
| `PHP_APC_TTL` | APC Time to live in seconds | `7200` |
196196
| `PHP_FPM_HOST` | PHP-FPM Host, dependenent on PHP_FPM_LISTEN_TYPE, add multiple with commas | `127.0.0.1:9000` or `/var/run/php-fpm.sock` |
197-
| `PHP_FPM_LISTEN_TYPE` | PHP-FPM listen type `UNIX` sockets or `TCP` sockets or `BOTH` | `unix` |
197+
| `PHP_FPM_LISTEN_TYPE` | PHP-FPM listen type `UNIX` sockets or `TCP` sockets | `unix` |
198198
| `PHP_FPM_LISTEN_TCP_IP` | PHP-FPM Listening IP if `PHP_LISTEN_TYPE=TCP` | `0.0.0.0` |
199199
| `PHP_FPM_LISTEN_TCP_IP_ALLOWED` | PHP-FPM allow only these hosts if `PHP_LISTEN_TYPE=TCP` | `127.0.0.1` |
200200
| `PHP_FPM_LISTEN_TCP_PORT` | PHP-FPM Listening Port - Ignored with above container options | `9000` |
201201
| `PHP_FPM_LISTEN_UNIX_SOCKET` | PHP-FPM Listen Socket if `PHP_LISTEN_TYPE=UNIX` | `/var/run/php-fpm.sock` |
202-
| `PHP_FPM_LISTEN_UNIX_SOCKET_USER` | PHP-FPM Listen Socket user `PHP_LISTEN_TYPE=UNIX` | `${NGINX_USER}` or `${UNIT_USER}` |
202+
| `PHP_FPM_LISTEN_UNIX_SOCKET_USER` | PHP-FPM Listen Socket user `PHP_LISTEN_TYPE=UNIX` | `${NGINX_USER}` or `${UNIT_USER}` |
203203
| `PHP_FPM_LISTEN_UNIX_SOCKET_GROUP` | PHP-FPM Listen Socket group `PHP_LISTEN_TYPE=UNIX` | `${NGINX_GROUP}` or `${UNIT_GROUP}` |
204204
| `PHP_FPM_MAX_CHILDREN` | Maximum Children | `75` |
205205
| `PHP_FPM_MAX_REQUESTS` | How many requests before spawning new server | `500` |
@@ -210,7 +210,7 @@ When `PHP_FPM_CONTAINER_MODE` set to `nginx` the `PHP_FPM_LISTEN_PORT` environme
210210
| `PHP_FPM_POST_INIT_SCRIPT` | If you wish to execute a script before php-fpm executes, enter it here and seperate multiples by comma. | |
211211
| `PHP_FPM_PROCESS_MANAGER` | How to handle processes `static`, `ondemand`, `dynamic` | `dynamic` |
212212
| `PHP_FPM_START_SERVERS` | How many FPM servers to start initially | `2` |
213-
| `PHP_FPM_USER` | User to run PHP-FPM master process as | `${NGINX_USER}` or `${UNIT_USER}` |
213+
| `PHP_FPM_USER` | User to run PHP-FPM master process as | `${NGINX_USER}` or `${UNIT_USER}` |
214214
| `PHP_HIDE_X_POWERED_BY` | Hide X-Powered by response | `TRUE` |
215215
| `PHP_LOG_ACCESS_FILE` | PHP Access Logfile Name | `access.log` |
216216
| `PHP_LOG_ERROR_FILE` | Logfile name | `error.log` |

install/assets/defaults/20-php-fpm

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PHP_ENABLE_CREATE_SAMPLE_PHP=${PHP_ENABLE_CREATE_SAMPLE_PHP:-"TRUE"}
1010
PHP_HIDE_X_POWERED_BY=${PHP_HIDE_X_POWERED_BY:-"TRUE"}
1111
PHP_KITCHENSINK=${PHP_KITCHENSINK:-"FALSE"}
1212
PHP_FPM_LISTEN_IP=${PHP_FPM_LISTEN_IP:-"0.0.0.0"}
13-
PHP_FPM_LISTEN_TYPE=${PHP_FPM_LISTEN_TYPE:-"both"}
13+
PHP_FPM_LISTEN_TYPE=${PHP_FPM_LISTEN_TYPE:-"unix"}
1414
PHP_FPM_LISTEN_PORT=${PHP_FPM_LISTEN_PORT:-"9000"}
1515
PHP_FPM_LISTEN_TCP_IP=${PHP_FPM_LISTEN_TCP_IP:-"${PHP_FPM_LISTEN_IP}"}
1616
PHP_FPM_LISTEN_TCP_IP_ALLOWED=${PHP_FPM_LISTEN_TCP_IP_ALLOWED:-"127.0.0.1"}
@@ -82,9 +82,6 @@ fi
8282

8383
if [ -z "${PHP_FPM_HOST}" ]; then
8484
case "${PHP_FPM_LISTEN_TYPE,,}" in
85-
both )
86-
PHP_FPM_HOST=${PHP_FPM_LISTEN_UNIX_SOCKET}
87-
;;
8885
tcp )
8986
PHP_FPM_HOST=127.0.0.1:${PHP_FPM_LISTEN_TCP_PORT}
9087
;;

install/assets/functions/20-php-fpm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,6 @@ phpfpm_configure_server() {
203203
truefalse_onoff PHP_DISPLAY_ERRORS
204204

205205
case "${PHP_FPM_LISTEN_TYPE,,}" in
206-
"both" )
207-
create_socket_dir
208-
;;
209206
"tcp" )
210207
sed -i \
211208
-e "/listen = {{PHP_FPM_LISTEN_UNIX_SOCKET}}/d" \

0 commit comments

Comments
 (0)