local development
fix_php_version.sh
// Remove the vendor folder
rm -rf vendor
// Switch inside the container (if you are using Docker)
doc exec bash
// Now run Composer inside the container
/usr/local/bin/composer install
15.08.2024 | Lothar Ferreira Neumann
How to handle a wrong PHP version in the vendor folder
docker-compose.darwin.yml
services:
drupal:
environment:
- PHP_OVERRIDE=darwin
- SETTINGS_PERM=644
25.07.2024 | Lothar Ferreira Neumann
Enable debugging and customization of the Drupal setup on macOS (Darwin)
First, you could check if there are different states of your config between database and local file system.
drush_config_status.sh
drush config:statusThere is an option `--diff` for the drush command that will print the changes first.
drush_config_import_diff.sh
drush config:import --diffThis also works for config export.
drush_config_export_diff.sh
drush config:export --diff
19.03.2026 | Michael Ebert
Preview changed config before import/export with drush
docker-compose.offline.yml
services:
web:
cap_drop:
- NET_RAW
19.03.2026 | Peter Gerken