Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[BUG] PHP Imagemagick Warning

Đang mở
#90 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
docker, php
Lĩnh vực
devops

Hướng nghiên cứu

Bắt đầu với cấu hình build image Docker và service lychee trong thiết lập Docker Compose được cung cấp; kiểm tra cách các phiên bản PHP Imagick và ImageMagick được cài đặt. Tái hiện quá trình khởi động container và so sánh các phiên bản đã biên dịch với các phiên bản đã được nạp. Được xem là hoàn thành khi container hiện tại khởi động mà không xuất hiện cảnh báo lặp lại về phiên bản Imagick.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

lychee | [custom-init] No custom files found, skipping...
lychee | [ls.io-init] done.
lychee | [24-Jul-2025 11:23:55] NOTICE: PHP message: PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee | PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee |
lychee | INFO No scheduled commands are ready to run.
lychee |
lychee | PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee |
lychee | INFO No scheduled commands are ready to run.
lychee |
lychee | PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee |
lychee | INFO No scheduled commands are ready to run.

Expected Behavior

No error

Steps To Reproduce

Start the current version of the docker container.

Environment
- OS: Debian 12
- How docker service was installed: via apt
CPU architecture

x86-64

Docker creation
Docker compose 

services:
  mariadb:
    image: lscr.io/linuxserver/mariadb:latest
    container_name: lychee_mariadb
    restart: unless-stopped
    volumes:
      - ./mariadb:/config
    environment:
      - MYSQL_ROOT_PASSWORD=rootpassword
      - MYSQL_DATABASE=lychee
      - MYSQL_USER=lychee
      - MYSQL_PASSWORD=dbpassword
      - PGID=1000
      - PUID=1000
      - TZ=Europe/Berlin
  lychee:
    image: lscr.io/linuxserver/lychee:latest
    container_name: lychee
    restart: unless-stopped
    depends_on:
      - mariadb
    volumes:
      - ./config:/config
      - ./pictures:/pictures
    environment:
      - DB_CONNECTION=mysql
      - DB_HOST=mariadb
      - DB_PORT=3306
      - DB_USERNAME=lychee
      - DB_PASSWORD=dbpassword
      - DB_DATABASE=lychee
      - PGID=1000
      - PUID=1000
      - TZ=Europe/Berlin
    ports:
      - 84:80
Container logs
lychee_mariadb  | 250724 11:23:43 mysqld_safe Logging to '/config/databases/5b8774548322.err'.                                            [43/791]
lychee_mariadb  | 250724 11:23:43 mysqld_safe Starting mariadbd daemon with databases from /config/databases
lychee          | **** The following active confs have different version dates than the samples that are shipped. ****
lychee          | **** This may be due to user customization or an update to the samples. ****
lychee          | **** You should compare the following files to the samples in the same folder and update them. ****
lychee          | **** Use the link at the top of the file to view the changelog. ****
lychee          | ┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
lychee          | │  old date  │  new date  │ path                                                                   │
lychee          | ├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
lychee          | │ 2024-07-16 │ 2025-05-31 │ /config/nginx/site-confs/default.conf                                  │
lychee          | │ 2023-08-13 │ 2025-07-18 │ /config/nginx/ssl.conf                                                 │
lychee          | │ 2024-05-27 │ 2025-05-31 │ /config/nginx/nginx.conf                                               │
lychee          | └────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
lychee          | Waiting for DB to be available
lychee_mariadb  | Connection to localhost (::1) 3306 port [tcp/mysql] succeeded!
lychee_mariadb  | Logrotate is enabled
lychee_mariadb  | [ls.io-init] done.
lychee          | PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will ru
n but may behave surprisingly in Unknown on line 0
lychee          |
lychee          |    INFO  Nothing to migrate.
lychee          |
lychee          | [custom-init] No custom files found, skipping...
lychee          | [ls.io-init] done.
lychee          | [24-Jul-2025 11:23:55] NOTICE: PHP message: PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809
 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
lychee          | PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will ru
n but may behave surprisingly in Unknown on line 0
lychee          |
lychee          |    INFO  No scheduled commands are ready to run.
lychee          |
lychee          | PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will ru
n but may behave surprisingly in Unknown on line 0
lychee          |
lychee          |    INFO  No scheduled commands are ready to run.
lychee          |
lychee          | PHP Warning:  Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will ru
n but may behave surprisingly in Unknown on line 0
lychee          |
lychee          |    INFO  No scheduled commands are ready to run.
Ngôn ngữ chính
Dockerfile
Star
51
Fork
15
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.