HTTP/2 support in php:7.2-apache-stretch image
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- apache, docker, php
調査の方向性
まず、php:7.2-apache-stretch イメージで報告された動作を再現し、issue に記載されている有効な Apache MPM、mod_http2、PHP モジュールの設定を確認します。issue にはリポジトリのファイルも要求された変更も記載されていません。完了するには、maintainer が承認した互換性のある設定またはイメージの修正を特定して文書化する必要があります。
索引モデルが issue の本文から書いたものです。
説明
Hello,
I have faced issue with http/2 using php:7.2-apache-stretch image.
While running apache having such modules enabled:
a2enmod rewrite
a2enmod headers
a2enmod http2
a2enmod ssl
With configuration (http2.conf included in /etc/apache2/conf-enabled/000-http2.conf):
Protocols h2 h2c http/1.1
H2Push on
H2PushPriority * after
H2PushPriority text/css before
H2PushPriority image/jpeg after 32
H2PushPriority image/png after 32
H2PushPriority application/javascript interleavedSSLProtocol all -SSLv2 -SSLv3
SSLHonorCipherOrder on
SSLCipherSuite 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-A$'`
Apache says:
[http2:warn] [pid 65] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
After switching to mpm_event, another issue occurs:
[php7:crit] [pid 131:tid 140261273732288] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
AH00013: Pre-configuration failed
Thanks in advance for any help.
- 主要言語
- Dockerfile
- スター
- 4k
- フォーク
- 2k
- 平均マージ
- 5日 21時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker-library/php のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
docker-library/php#1674 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
docker-library/php#1680 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
docker-library/php#1675 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
docker-library/php#1673 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
docker-library/php#1631 · コメント 9 件 · リアクション 6 件 ·
docker-library/php の issue をすべて見る
似ている issue
-
Area: Excel support
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
orbeon/orbeon-forms#7893 ·
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yeti-platform/yeti#1380 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/python-sdk#3566 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
griptape-ai/griptape#2353 ·