WordPress theme requires PHP v >=8.1 – How to a dd different PHP version to docker-composer

Adjusting the wordpress image to the below works wordpress:6.3.1-php8.1-apache Full docker-compose.yml file # version: ‘3.1’ services: db: image: mysql:8 container_name: mysql_WP restart: always command: “–default-authentication-plugin=mysql_native_password” environment: MYSQL_ROOT_PASSWORD: password MYSQL_DATABASE: dbname MYSQL_USER: user MYSQL_PASSWORD: password # volumes: # – ./schema:/docker-entrypoint-initdb.d phpmyadmin: image: phpmyadmin/phpmyadmin restart: always ports: – 8082:80 environment: PMA_HOST: db MYSQL_ROOT_PASSWORT: password wordpress: image: wordpress:6.3.1-php8.1-apache … Read more

Too many redirects error when change of base url

Have you tried defining WP_SITEURL and WP_HOME to point to the correct URL? This “overrides” the DB settings. https://codex.wordpress.org/Editing_wp-config.php#WP_SITEURL If that doesn’t work, the next thing to try is the RELOCATE method https://codex.wordpress.org/Changing_The_Site_URL#Relocate_method