diff --git a/bitnami/prestashop/8/debian-11/Dockerfile b/bitnami/prestashop/8/debian-11/Dockerfile index 60592a40e0ce..7cef1cd5193f 100644 --- a/bitnami/prestashop/8/debian-11/Dockerfile +++ b/bitnami/prestashop/8/debian-11/Dockerfile @@ -5,7 +5,7 @@ ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="8.0.1-debian-11-r6" \ + org.opencontainers.image.ref.name="8.0.1-debian-11-r7" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/prestashop" \ org.opencontainers.image.title="prestashop" \ org.opencontainers.image.vendor="VMware, Inc." \ diff --git a/bitnami/prestashop/8/debian-11/rootfs/opt/bitnami/scripts/php/postunpack.sh b/bitnami/prestashop/8/debian-11/rootfs/opt/bitnami/scripts/php/postunpack.sh index 3238c296a119..bc028e46e22f 100755 --- a/bitnami/prestashop/8/debian-11/rootfs/opt/bitnami/scripts/php/postunpack.sh +++ b/bitnami/prestashop/8/debian-11/rootfs/opt/bitnami/scripts/php/postunpack.sh @@ -26,9 +26,6 @@ php_conf_set "listen" "$PHP_FPM_DEFAULT_LISTEN_ADDRESS" "${PHP_CONF_DIR}/php-fpm php_conf_set "upload_tmp_dir" "${PHP_BASE_DIR}/tmp" php_conf_set "session.save_path" "${PHP_TMP_DIR}/session" -# Log errors to stdout for easy debugging -php_conf_set "error_log" "/dev/stderr" - # Ensure directories used by PHP-FPM exist and have proper ownership and permissions for dir in "$PHP_CONF_DIR" "${PHP_BASE_DIR}/tmp" "$PHP_TMP_DIR" "$PHP_FPM_LOGS_DIR" "${PHP_TMP_DIR}/session"; do ensure_dir_exists "$dir" @@ -39,4 +36,6 @@ info "Disabling PHP-FPM daemon user/group configuration" mv "${PHP_CONF_DIR}/common.conf" "${PHP_CONF_DIR}/common.conf.disabled" touch "${PHP_CONF_DIR}/common.conf" +# Log to stdout/stderr for easy debugging ln -sf "/dev/stdout" "$PHP_FPM_LOG_FILE" +php_conf_set "error_log" "/dev/stderr"