Luxeritas PHP8.4 対応まとめ
結論
Luxeritas 3.25.0 + KI-02〜06 修正済み
→ PHP 8.4 production-like 環境で正常動作
PHP8.4 固有の Luxeritas 新規 Warning / Deprecated は 0件 でした。
検証環境
wp-sandbox-php84
PHP 8.4.21
WordPress 6.9.4
Luxeritas 3.25.0
Luxech 3.0.4 active
port: 8889
php83 とは別環境・別Docker volumeで分離。
検証フェーズ
Phase D: PHP8.4 clean baseline
内容:
PHP8.4 + clean install + Luxeritas
結果:
debug.log 空
WP-CLI warning なし
curl 全OK
新規KIなし
確認:
/ 200 OK
/wp-json/ 200 OK
/?amp=1 200 OK
/wp-admin/ 302
commit:
8ca2a67
Phase E: PHP8.4 + 本番DB
内容:
PHP8.4 + production DB + Luxeritas
結果:
debug.log 空
WP-CLI warning なし
新規KIなし
URL置換:
https://blog2020.iwadjp.com → http://localhost:8889
80 replacements
http://13.193.215.66 → http://localhost:8889
6285 replacements
commit:
ef44f57
Phase F: PHP8.4 + plugins
内容:
PHP8.4 + production DB + plugins
実施:
全20 plugin 単独スキャン
production active plugin 13件を復元
結果:
ブラウザ側 debug.log 20/20 clean
HTTP 200/302 正常 20/20
PHP8.4 固有新規KI 0件
production-like state clean
commit:
391d6af
tag:
php84-production-like
production-like PHP8.4 状態
active plugins 13件
all-in-one-wp-migration
blog2social
broken-link-checker
google-site-kit
google-sitemap-generator
ip-location-block
jetpack
pubsubhubbub
simple-page-ordering
taxonomy-terms-order
wp-mail-smtp
wp-multibyte-patch
wp-optimize
inactive plugins 8件
akismet
all-in-one-seo-pack
amp
ewww-image-optimizer
google-analytics-for-wordpress
simple-tags
w3-total-cache
wordpress-ping-optimizer
must-use
luxe-amp-mu
PHP8.4で重点確認した項目
確認対象:
Implicitly nullable parameter deprecation
internal function signature strictness
null → string / array 渡し
dynamic property
callback signature mismatch
filter/action parameter count
preg/regex null handling
serialized option
Customizer state
widget state
WP-CLI context
結果:
Luxeritas本体では新規問題なし
PHP8.3との差分
| 項目 | PHP8.3 | PHP8.4 |
|---|---|---|
| clean install | clean | clean |
| production DB | clean | clean |
| production active plugins | clean | clean |
| Luxeritas新規KI | なし | なし |
| debug.log | clean | clean |
| REST | OK | OK |
| AMP path | OK | OK |
| Customizer | OK | OK |
既知問題
PHP8.4固有ではなく、既知plugin側問題として整理済み。
KI-09
wordpress-ping-optimizer dynamic property Deprecated
分類:
plugin-side
WP-CLI only
PHP8.3 / PHP8.4 共通
KI-10
amp plugin _load_textdomain_just_in_time
分類:
plugin-side
WP-CLI only
KI-11
amp + ip-location-block interaction
amp_has_paired_endpoint early call
分類:
plugin interaction
WP-CLI only
本番構成では amp plugin inactive のため発生しない。
最終評価
PHP8.4対応としては、現時点でかなり良好です。
特に重要なのは、
PHP8.4固有のLuxeritas新規Warning/Deprecatedが出なかった
ことです。
今回の結果から、Luxeritas は PHP8.4で致命的に壊れる状態ではなく、KI-04〜06 の hardening により、PHP8.4 production-like 環境でも安定動作することが確認できました。