Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this for Drupal 8 site that requires Php 7.4 ? #549

Open
mmmikko opened this issue May 27, 2023 · 2 comments
Open

How to use this for Drupal 8 site that requires Php 7.4 ? #549

mmmikko opened this issue May 27, 2023 · 2 comments

Comments

@mmmikko
Copy link

mmmikko commented May 27, 2023

Codebase
mounted codebase (old website with Drupal 8 and Php 7.4)

Describe your issue
I have tried to follow documentation, but I don't understand how to set Php version to 7.4., I run into problems if I only edit the php version from docker-compose.yml like this:
php:
image: wodby/drupal-php:7.4

Output of docker info

Client: Docker Engine - Community
 Version:    24.0.2
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.10.4
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.17.2
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 6
  Running: 0
  Paused: 0
  Stopped: 6
 Images: 5
 Server Version: 24.0.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
 runc version: v1.1.7-0-g860f061
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
 Kernel Version: 5.10.16.3-microsoft-standard-WSL2
 Operating System: Ubuntu 20.04.1 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 1.935GiB
 Name: LAPTOP-45LEACQ5
 ID: d35855a6-d4ad-466a-872b-17e74263d1e4
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false```

**Contents of your `docker-compose.yml`**

version: "3.7"

services:
mariadb:
image: wodby/mariadb:$MARIADB_TAG
container_name: "${PROJECT_NAME}_mariadb"
stop_grace_period: 30s
environment:
MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
MYSQL_DATABASE: $DB_NAME
MYSQL_USER: $DB_USER
MYSQL_PASSWORD: $DB_PASSWORD
php:
image: wodby/drupal-php:7.4
container_name: "${PROJECT_NAME}_php"
environment:
SSMTP_MAILHUB: mailhog:1025
PHP_SENDMAIL_PATH: '"/usr/bin/dos2unix -u | /usr/sbin/ssmtp -t -f"'
gpu","--headless"]}}, "http://chrome:9515"]'
volumes:
- ./:/var/www/html:cached
crond:
image: wodby/drupal-php:$PHP_TAG
container_name: "${PROJECT_NAME}_crond"
environment:
CRONTAB: "0 * * * * drush -r /var/www/html/web cron"
command: sudo -E crond -f -d 0
volumes:
- ./:/var/www/html:cached
nginx:
image: wodby/nginx:$NGINX_TAG
container_name: "${PROJECT_NAME}_nginx"
depends_on:
- php
environment:
NGINX_STATIC_OPEN_FILE_CACHE: "off"
NGINX_ERROR_LOG_LEVEL: debug
NGINX_BACKEND_HOST: php
NGINX_SERVER_ROOT: /var/www/html/web
NGINX_VHOST_PRESET: $NGINX_VHOST_PRESET
volumes:
- ./:/var/www/html:cached
labels:
- "traefik.http.routers.${PROJECT_NAME}_nginx.rule=Host(${PROJECT_BASE_URL})"

mailhog:
image: mailhog/mailhog
container_name: "${PROJECT_NAME}_mailhog"
labels:
- "traefik.http.services.${PROJECT_NAME}_mailhog.loadbalancer.server.port=8025"
- "traefik.http.routers.${PROJECT_NAME}_mailhog.rule=Host(mailhog.${PROJECT_BASE_URL})"
traefik:
image: traefik:v2.0
container_name: "${PROJECT_NAME}_traefik"
command: --api.insecure=true --providers.docker
ports:
- "${PROJECT_PORT}:80"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
volumes:
files:


**Contents of your `.env`**

PROJECT_NAME=my_drupal10_project
PROJECT_BASE_URL=drupal.docker.localhost
PROJECT_PORT=8000

DB_NAME=drupal
DB_USER=drupal
DB_PASSWORD=drupal
DB_ROOT_PASSWORD=password
DB_HOST=mariadb
DB_PORT=3306
DB_DRIVER=mysql

MARIADB_TAG=10.9-3.25.1

DRUPAL_TAG=10-4.54.1

PHP_TAG=8.2-dev-4.44.1

NGINX_TAG=1.25-5.32.0

NGINX_VHOST_PRESET=drupal9

SOLR_TAG=8-4.18.2

SOLR_CONFIG_SET="search_api_solr_4.1.6"

ELASTICSEARCH_TAG=7-5.18.8

KIBANA_TAG=7-5.18.8

REDIS_TAG=7-4.1.0

NODE_TAG=18-dev-1.22.0

VARNISH_TAG=6.0-4.14.0

POSTGRES_TAG=15-1.31.0

ADMINER_TAG=4-3.24.4
APACHE_TAG=2.4-4.12.0
ATHENAPDF_TAG=2.16.0
DRUPAL_NODE_TAG=1.0-2.0.0
MEMCACHED_TAG=1-2.15.0
OPENSMTPD_TAG=6-1.18.0
RSYSLOG_TAG=latest
SELENIUM_CHROME_TAG=3.141
WEBGRIND_TAG=1-1.30.0
XHPROF_TAG=3.7.6
ZOOKEEPER_TAG=3.8


**Logs output `docker-compose logs`**

my_drupal10_project_crond | [27-May-2023 09:07:29 UTC] PHP Fatal error: Declaration of Drush\Commands\DrushCommands::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void in /var/www/html/web/vendor/psr/log/Psr/Log/LoggerAwareTrait.php on line 22
my_drupal10_project_crond | make: *** [/usr/local/bin/actions.mk:6: init] Error 1
my_drupal10_project_nginx | nginx: [emerg] host not found in upstream "php:9000" in /etc/nginx/upstream.conf:2
my_drupal10_project_mariadb | 2023-05-27T09:07:29+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server started.
my_drupal10_project_mariadb | 2023-05-27T09:07:29+00:00 [Note] [Entrypoint]: Initializing database files
my_drupal10_project_mariadb | 2023-05-27 9:07:29 0 [Warning] 'innodb-force-load-corrupted' was removed. It does nothing now and exists only for compatibility with old my.cnf files.
my_drupal10_project_traefik | time="2023-05-27T09:07:29Z" level=info msg="Configuration loaded from flags."
my_drupal10_project_mailhog | 2023/05/27 09:07:28 Using in-memory storage
my_drupal10_project_mailhog | 2023/05/27 09:07:28 [SMTP] Binding to address: 0.0.0.0:1025
my_drupal10_project_mariadb |
my_drupal10_project_mailhog | 2023/05/27 09:07:28 Serving under http://0.0.0.0:8025/
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
my_drupal10_project_mariadb | To do so, start the server, then issue the following command:
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | '/usr/bin/mariadb-secure-installation'
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | which will also give you the option of removing the test
my_drupal10_project_mariadb | databases and anonymous user created by default. This is
my_drupal10_project_mariadb | strongly recommended for production servers.
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | See the MariaDB Knowledgebase at https://mariadb.com/kb
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | Please report any problems at https://mariadb.org/jira
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | The latest information about MariaDB is available at https://mariadb.org/.
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | Consider joining MariaDB's strong and vibrant community:
my_drupal10_project_mariadb | https://mariadb.org/get-involved/
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | 2023-05-27T09:07:31+00:00 [Note] [Entrypoint]: Database files initialized
my_drupal10_project_mariadb | 2023-05-27T09:07:31+00:00 [Note] [Entrypoint]: Starting temporary server
my_drupal10_project_mariadb | 2023-05-27T09:07:31+00:00 [Note] [Entrypoint]: Waiting for server startup
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] Starting MariaDB 10.9.6-MariaDB source revision 34762401297a98114cac7c02f664f52ccf20f809 as process 98
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
my_drupal10_project_mailhog | [HTTP] Binding to address: 0.0.0.0:8025
my_drupal10_project_mailhog | Creating API v1 with WebPath:
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: Number of transaction pools: 1
my_drupal10_project_php | [27-May-2023 09:07:29 UTC] PHP Fatal error: Declaration of Drush\Commands\DrushCommands::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void in /var/www/html/web/vendor/psr/log/Psr/Log/LoggerAwareTrait.php on line 22
my_drupal10_project_php | make: *** [/usr/local/bin/actions.mk:6: init] Error 1
my_drupal10_project_mailhog | Creating API v2 with WebPath:
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: Using Linux native AIO
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: Completed initialization of buffer pool
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes)
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: 128 rollback segments are active.
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: log sequence number 46590; transaction id 14
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] Plugin 'FEEDBACK' is disabled.
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Warning] 'innodb-force-load-corrupted' was removed. It does nothing now and exists only for compatibility with old my.cnf files.
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] InnoDB: Buffer pool(s) load completed at 230527 9:07:31
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Warning] 'user' entry 'root@01bc28e9f665' ignored in --skip-name-resolve mode.
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Warning] 'proxies_priv' entry '@% root@01bc28e9f665' ignored in --skip-name-resolve mode.
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mariadb | 2023-05-27 9:07:31 0 [Note] mysqld: ready for connections.
my_drupal10_project_mariadb | Version: '10.9.6-MariaDB' socket: '/var/run/mysqld/mysqld.sock' port: 0 MariaDB Server
my_drupal10_project_mariadb | 2023-05-27T09:07:32+00:00 [Note] [Entrypoint]: Temporary server started.
my_drupal10_project_mariadb | 2023-05-27 9:07:34 5 [Warning] 'proxies_priv' entry '@% root@01bc28e9f665' ignored in --skip-name-resolve mode.
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mariadb | 2023-05-27T09:07:34+00:00 [Note] [Entrypoint]: Creating database drupal
my_drupal10_project_mariadb | 2023-05-27T09:07:34+00:00 [Note] [Entrypoint]: Creating user drupal
my_drupal10_project_mariadb | 2023-05-27T09:07:34+00:00 [Note] [Entrypoint]: Giving user drupal access to schema drupal
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | 2023-05-27T09:07:34+00:00 [Note] [Entrypoint]: Stopping temporary server
my_drupal10_project_mariadb | 2023-05-27 9:07:34 0 [Note] mysqld (initiated by: root[root] @ localhost []): Normal shutdown
my_drupal10_project_mariadb | 2023-05-27 9:07:34 0 [Note] InnoDB: FTS optimize thread exiting.
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mariadb | 2023-05-27 9:07:34 0 [Note] InnoDB: Starting shutdown...
my_drupal10_project_mariadb | 2023-05-27 9:07:34 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
my_drupal10_project_mariadb | 2023-05-27 9:07:34 0 [Note] InnoDB: Buffer pool(s) dump completed at 230527 9:07:34
my_drupal10_project_mariadb | 2023-05-27 9:07:34 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
my_drupal10_project_mariadb | 2023-05-27 9:07:34 0 [Note] InnoDB: Shutdown completed; log sequence number 46590; transaction id 15
my_drupal10_project_mariadb | 2023-05-27 9:07:34 0 [Note] mysqld: Shutdown complete
my_drupal10_project_mariadb |
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mariadb | 2023-05-27T09:07:35+00:00 [Note] [Entrypoint]: Temporary server stopped
my_drupal10_project_mariadb |
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mailhog | [APIv1] KEEPALIVE /api/v1/events
my_drupal10_project_mariadb | 2023-05-27T09:07:35+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
my_drupal10_project_mariadb |
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] Starting MariaDB 10.9.6-MariaDB source revision 34762401297a98114cac7c02f664f52ccf20f809 as process 1
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: Number of transaction pools: 1
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: Using Linux native AIO
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: Completed initialization of buffer pool
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: File system buffers for log disabled (block size=4096 bytes)
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: 128 rollback segments are active.
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: log sequence number 46590; transaction id 14
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] Plugin 'FEEDBACK' is disabled.
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Warning] 'innodb-force-load-corrupted' was removed. It does nothing now and exists only for compatibility with old my.cnf files.
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] Server socket created on IP: '0.0.0.0'.
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] InnoDB: Buffer pool(s) load completed at 230527 9:07:35
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Warning] 'proxies_priv' entry '@% root@01bc28e9f665' ignored in --skip-name-resolve mode.
my_drupal10_project_mariadb | 2023-05-27 9:07:35 0 [Note] mysqld: ready for connections.
my_drupal10_project_mariadb | Version: '10.9.6-MariaDB' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MariaDB Server
my_drupal10_project_mariadb | 2023-05-27 10:12:56 0 [Note] mysqld (initiated by: unknown): Normal shutdown
my_drupal10_project_mariadb | 2023-05-27 10:12:56 0 [Note] InnoDB: FTS optimize thread exiting.
my_drupal10_project_mariadb | 2023-05-27 10:12:56 0 [Note] InnoDB: Starting shutdown...
my_drupal10_project_mariadb | 2023-05-27 10:12:56 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
my_drupal10_project_mariadb | 2023-05-27 10:12:56 0 [Note] InnoDB: Buffer pool(s) dump completed at 230527 10:12:56
my_drupal10_project_mariadb | 2023-05-27 10:12:57 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
my_drupal10_project_mariadb | 2023-05-27 10:12:57 0 [Note] InnoDB: Shutdown completed; log sequence number 47014; transaction id 15
my_drupal10_project_mariadb | 2023-05-27 10:12:57 0 [Note] mysqld: Shutdown complete
my_drupal10_project_mariadb |```

@csandanov
Copy link
Member

if you want to change php version you should update PHP_TAG in .env instead docker-compose.yml. The 7.4 version no longer supported so you will get the error with the latest stability tag, you should find the last tag that still had PHP 7.4 support https://github.com/wodby/php/tags. Also you should update nginx's vhost preset env var

@mmmikko
Copy link
Author

mmmikko commented Jun 6, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants