0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WordPress・PHP 対応表

0
Last updated at Posted at 2026-06-26

WordPress・PHP 対応表

WordPress バージョン PHP の対応範囲 PHP の推奨・注意点 情報元
WordPress 7.0 PHP 7.4~8.5 PHP 7.2・7.3のサポートを終了。PHP 8.3以上を推奨 公式PHP互換性表WordPress 7.0
WordPress 6.9 PHP 7.2~8.5 PHP 8.5まで完全対応。実運用ではPHP 8.3以上を推奨 公式PHP互換性表Server Environment
WordPress 6.8 PHP 7.2~8.4 PHP 8.4まで完全対応 公式PHP互換性表Server Environment
WordPress 6.7 PHP 7.2~8.4 PHP 8.4まで完全対応 公式PHP互換性表
WordPress 6.6 PHP 7.2~8.3 PHP 7.0・7.1のサポートを終了 公式PHP互換性表
WordPress 6.5 PHP 7.0~8.3 PHP 8.3まで対応 公式PHP互換性表
WordPress 6.4 PHP 7.0~8.3 PHP 8.3まで対応 公式PHP互換性表
WordPress 6.3 PHP 7.0~8.2 PHP 8.2まで対応 公式PHP互換性表
WordPress 6.1~6.2 PHP 5.6~8.2 PHP 8.2まで対応 公式PHP互換性表
WordPress 6.0 PHP 5.6~8.1 PHP 8.1まで対応 公式PHP互換性表
WordPress 5.9 PHP 5.6~8.1 PHP 8.1まで対応 公式PHP互換性表
WordPress 5.6~5.8 PHP 5.6~8.0 WordPress 5.6からPHP 8.0対応が追加された 公式PHP互換性表
WordPress 5.4~5.5 PHP 5.6~7.4 PHP 8.0以上には非対応 公式PHP互換性表

簡略版

WordPress 対応 PHP
WordPress 7.0 PHP 7.4~8.5
WordPress 6.9 PHP 7.2~8.5
WordPress 6.7~6.8 PHP 7.2~8.4
WordPress 6.6 PHP 7.2~8.3
WordPress 6.4~6.5 PHP 7.0~8.3
WordPress 6.3 PHP 7.0~8.2
WordPress 6.1~6.2 PHP 5.6~8.2
WordPress 5.9~6.0 PHP 5.6~8.1
WordPress 5.6~5.8 PHP 5.6~8.0
WordPress 5.4~5.5 PHP 5.6~7.4

現在の推奨構成

  • ※2026年6月現在
項目 推奨
WordPress 最新安定版
PHP PHP 8.3以上
レガシー環境での最低ライン PHP 7.4以上
PHP 8.5を使用する場合 WordPress 6.9以上
PHP 8.4を使用する場合 WordPress 6.7以上
PHP 8.3を使用する場合 WordPress 6.8以上
PHP 8.2を使用する場合 WordPress 6.6以上
PHP 8.1を使用する場合 WordPress 6.3以上

その他の重要要素

実際のPHP更新では、次の互換性も個別に確認する必要があります。

  • テーマ
  • プラグイン
  • wp-config.php や独自テーマ内のカスタムコード
  • ionCube などのPHP拡張
  • WooCommerce など、独自のPHP最低要件を持つプラグイン

出典元

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?