Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[BUG] PHP Imagemagick Warning

オープン
#90 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, php
領域
devops

調査の方向性

提供された Docker Compose 設定の Docker イメージビルド設定と lychee サービスから始め、PHP Imagick と ImageMagick のバージョンがどのようにインストールされるかを調べます。コンテナの起動を再現し、コンパイルされたバージョンと読み込まれたバージョンを比較します。現在のコンテナが Imagick のバージョンに関する警告を繰り返し出さずに起動すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Dockerfile
スター
51
フォーク
15
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。