Skip to content

[wordpress] PHP XML manipulation libraries are not available.

Published: at 02:39 PM (1 min read)

最近在優化 wordpress 的 site health,遇到了以下錯誤

PHP XML manipulation libraries are not available.
Please ask your hosting provider to refer to our server requirements and enable PHP’s XML module.

解法:

  1. 安裝正確的 php7.4-xml (php-${version}-xml)

  2. 重啟 web server service nginx restart


Previous Post
[rails] length, count and size 差別是什麼?
Next Post
[wordpress] Failed to enable crypto stream_socket_client