Fix: variables_order=EGPCS für $_ENV Support
Bedrock braucht $_ENV für env() Funktion
🤖 Generated with Claude Code
This commit is contained in:
@@ -18,6 +18,9 @@ RUN install-php-extensions mysqli pdo_mysql \
|
||||
&& curl -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
|
||||
&& chmod +x /usr/local/bin/wp
|
||||
|
||||
# PHP config für Bedrock (variables_order mit E für $_ENV)
|
||||
COPY php-custom.ini /usr/local/etc/php/conf.d/99-bedrock.ini
|
||||
|
||||
# Startup-Script in /etc/entrypoint.d/ (serversideup Standard)
|
||||
COPY --chmod=755 entrypoint.d/ /etc/entrypoint.d/
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ services:
|
||||
- "traefik.http.services.wordpress.loadbalancer.server.port=8080"
|
||||
environment:
|
||||
NGINX_WEBROOT: /var/www/html/web
|
||||
PHP_INI_VARIABLES_ORDER: EGPCS
|
||||
WP_ENV: production
|
||||
WP_HOME: https://kurse.islandpferde-melanieworbs.de
|
||||
WP_SITEURL: https://kurse.islandpferde-melanieworbs.de/wp
|
||||
|
||||
2
php-custom.ini
Normal file
2
php-custom.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
; WordPress Bedrock - Custom PHP settings
|
||||
variables_order = "EGPCS"
|
||||
Reference in New Issue
Block a user