Skip to content

Commit 9245583

Browse files
committed
Release 7.7.99 - See CHANGELOG.md
1 parent 9cfe2d6 commit 9245583

File tree

2 files changed

+45
-14
lines changed

2 files changed

+45
-14
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 7.7.99 2025-09-29 <dave at tiredofit dot ca>
2+
3+
Add EOL Notice
4+
5+
16
## 7.7.20 2025-08-16 <dave at tiredofit dot ca>
27

38
### Changed

install/etc/cont-init.d/20-php-fpm

Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
11
#!/command/with-contenv bash
22

33
source /assets/functions/00-container
4-
source /assets/defaults/10-nginx
4+
source /assets/defaults/10-nginx-php-fpm
55
prepare_service
66
PROCESS_NAME="php-fpm"
77

8+
cat <<EOF
9+
10+
********************************************************************************************************
11+
* *
12+
* END OF LIFE NOTICE AUGUST 18, 2025 *
13+
* tiredofit/nginx-php-fpm *
14+
* *
15+
* This image is no longer maintained as of and will not receive updates. *
16+
* *
17+
* A successor image is available at: *
18+
* *
19+
* Repository | Documentation: *
20+
* - https://github.com/nfrastack/container-nginx-php-fpm *
21+
* *
22+
* Image Registries: *
23+
* - https://hub.docker.com/r/nfrastack/nginx-php-fpm *
24+
* - https://github.com/nfrastack/container-nginx-php-fpm/pkgs/container/container-nginx-php-fpm *
25+
* *
26+
* Please visit https://nfrastack.com for more information. *
27+
* *
28+
********************************************************************************************************
29+
30+
EOF
31+
32+
sleep 15
33+
834
if var_false "${ENABLE_PHP_FPM}" ; then
935
print_notice "Disabling PHP-FPM Functionality"
1036
service_stop 20-php-fpm
@@ -17,8 +43,8 @@ if var_false "${ENABLE_PHP_FPM}" ; then
1743
fi
1844

1945
case "${PHP_FPM_CONTAINER_MODE,,}" in
20-
"nginx")
21-
print_warn "Setting Container to operate in Nginx standalone mode"
46+
"nginx-php-fpm")
47+
print_warn "Setting Container to operate in nginx-php-fpm standalone mode"
2248
if [ "${PHP_FPM_HOST}" = "127.0.0.1" ] || [ "${PHP_FPM_HOST}" = "localhost" ] ; then
2349
print_error "Your PHP_FPM_HOST variable is still set to 'localhost' Please change it to something else"
2450
exit 1
@@ -29,33 +55,33 @@ case "${PHP_FPM_CONTAINER_MODE,,}" in
2955
exit 0
3056
;;
3157
"php-fpm")
32-
print_warn "Setting Container to operate in PHP-FPM standalone mode - You will need a seperate container for Nginx or another webserver to serve content"
58+
print_warn "Setting Container to operate in PHP-FPM standalone mode - You will need a seperate container for nginx-php-fpm or another webserver to serve content"
3359
set -x
34-
mod_service_stop 10-nginx
60+
mod_service_stop 10-nginx-php-fpm
3561
set +x
3662
print_notice "Setting PHP-FPM to serve from ${PHP_WEBROOT}"
3763
sed -i "/[www]#/achdir = ${PHP_WEBROOT}" /assets/php-fpm/fpm/php-fpm.conf
38-
rm -rf /etc/zabbix/zabbix_agent.conf.d/nginx.conf
64+
rm -rf /etc/zabbix/zabbix_agent.conf.d/nginx-php-fpm.conf
3965
;;
4066
esac
4167

4268
if [ ! -f "/tmp/.container/container-restart" ] ; then
4369
phpfpm_bootstrap
4470
phpfpm_configure_server
4571
phpfpm_configure_extensions
46-
if [[ "${PHP_FPM_CONTAINER_MODE,,}" == *"nginx"* ]] ; then phpfpm_configure_nginx ; fi
72+
if [[ "${PHP_FPM_CONTAINER_MODE,,}" == *"nginx-php-fpm"* ]] ; then phpfpm_configure_nginx-php-fpm ; fi
4773
if [[ "${PHP_FPM_CONTAINER_MODE,,}" == *"php-fpm"* ]] ; then phpfpm_create_default_page ; fi
48-
if var_true "${NGINX_ENABLE_APPLICATION_CONFIGURATION}"; then
49-
if [ -n "${NGINX_WEBROOT_SUFFIX}" ]; then
50-
_nginx_webroot_original="${NGINX_WEBROOT}"
51-
NGINX_WEBROOT=${NGINX_WEBROOT}${NGINX_WEBROOT_SUFFIX}
74+
if var_true "${nginx-php-fpm_ENABLE_APPLICATION_CONFIGURATION}"; then
75+
if [ -n "${nginx-php-fpm_WEBROOT_SUFFIX}" ]; then
76+
_nginx-php-fpm_webroot_original="${nginx-php-fpm_WEBROOT}"
77+
nginx-php-fpm_WEBROOT=${nginx-php-fpm_WEBROOT}${nginx-php-fpm_WEBROOT_SUFFIX}
5278
fi
5379
phpfpm_configure_site_default
54-
if [ -n "${NGINX_WEBROOT_SUFFIX}" ]; then
55-
NGINX_WEBROOT=${_nginx_webroot_original}
80+
if [ -n "${nginx-php-fpm_WEBROOT_SUFFIX}" ]; then
81+
nginx-php-fpm_WEBROOT=${_nginx-php-fpm_webroot_original}
5682
fi
5783
fi
58-
if [ "${NGINX_AUTHENTICATION_TYPE,,}" = "llng" ] ; then phpfpm_configure_authentication ; fi
84+
if [ "${nginx-php-fpm_AUTHENTICATION_TYPE,,}" = "llng" ] ; then phpfpm_configure_authentication ; fi
5985
phpfpm_configure_logging
6086
phpfpm_post_init
6187
fi

0 commit comments

Comments
 (0)