We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b83ef5 commit 5236311Copy full SHA for 5236311
1 file changed
scripts/docker-entrypoint.sh
@@ -141,12 +141,13 @@ else
141
142
# PHP-FPM port
143
if ! set | grep '^PHP_FPM_SERVER_PORT=' >/dev/null 2>&1; then
144
- log "err" "PHP-FPM enabled, but \$PHP_FPM_SERVER_PORT not set."
145
- exit 1
146
- fi
147
- if [ "${PHP_FPM_SERVER_PORT}" = "" ]; then
148
- log "err" "PHP-FPM enabled, but \$PHP_FPM_SERVER_PORT is empty."
149
+ log "info" "PHP-FPM enabled, but \$PHP_FPM_SERVER_PORT not set."
+ lgo "info" "Defaulting PHP-FPM port to 9000"
+ PHP_FPM_SERVER_PORT="9000"
+ elif [ "${PHP_FPM_SERVER_PORT}" = "" ]; then
+ log "info" "PHP-FPM enabled, but \$PHP_FPM_SERVER_PORT is empty."
150
151
fi
152
153
PHP_FPM_CONFIG="/etc/httpd/conf.d/php-fpm.conf"
0 commit comments