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
@@ -17,8 +43,8 @@ if var_false "${ENABLE_PHP_FPM}" ; then
17
43
fi
18
44
19
45
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"
22
48
if [ "${PHP_FPM_HOST}" = "127.0.0.1" ] || [ "${PHP_FPM_HOST}" = "localhost" ] ; then
23
49
print_error "Your PHP_FPM_HOST variable is still set to 'localhost' Please change it to something else"
24
50
exit 1
@@ -29,33 +55,33 @@ case "${PHP_FPM_CONTAINER_MODE,,}" in
29
55
exit 0
30
56
;;
31
57
"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"
33
59
set -x
34
-
mod_service_stop 10-nginx
60
+
mod_service_stop 10-nginx-php-fpm
35
61
set +x
36
62
print_notice "Setting PHP-FPM to serve from ${PHP_WEBROOT}"
37
63
sed -i "/[www]#/achdir = ${PHP_WEBROOT}" /assets/php-fpm/fpm/php-fpm.conf
0 commit comments