Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})

* Updated to [@lando/php@1.12.0](https://github.com/lando/php/releases/tag/v1.12.0) for mod_headers/mod_expires and xdebug log fix
* Removed `--ansi` flag from composer tooling command to prevent escape codes in redirected output [#157](https://github.com/lando/drupal/issues/157)

## v1.14.1 - [February 20, 2026](https://github.com/lando/drupal/releases/tag/v1.14.1)
Expand Down
8 changes: 8 additions & 0 deletions examples/drupal-defaults/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<IfModule mod_headers.c>
Header set X-Lando-Test "blazes"
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 hour"
</IfModule>
6 changes: 6 additions & 0 deletions examples/drupal-defaults/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ lando exec appserver -- /bin/sh -c 'NO_COLOR=1 composer -V' | grep "Composer ver
# Should not include ANSI escape codes when output is redirected
lando composer --version > /tmp/composer-output.txt 2>&1 && ! grep -P '\x1b\[' /tmp/composer-output.txt

# Should have mod_headers enabled and working
lando exec appserver -- curl -sI localhost | grep -i "X-Lando-Test: blazes"

# Should have mod_expires enabled and working
lando exec appserver -- curl -sI localhost | grep -i "Expires:"

# Should use the correct default config files
lando exec appserver -- cat /usr/local/etc/php/conf.d/zzz-lando-my-custom.ini | grep "; LANDODRUPALPHPINI"
lando exec appserver -- curl -L http://localhost/info.php | grep max_execution_time | grep 91
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@lando/mariadb": "^1.8.0",
"@lando/mssql": "^1.4.3",
"@lando/mysql": "^1.6.0",
"@lando/php": "^1.11.1",
"@lando/php": "^1.12.0",
"@lando/postgres": "^1.6.0",
"lodash": "^4.17.21",
"semver": "^7.7.2"
Expand Down
Loading