Requirements

What PerfLocale needs, and the optional extras that switch on a few more features.

What you need

  • WordPress 6.4 or newer. Single sites and multisite both work.
  • PHP 8.1 or newer. No PHP extension beyond what WordPress itself needs.
  • WordPress 7.2 works too. Wherever PerfLocale reads block markup itself, it reads it the way the WordPress you run does: with the new block processor on 7.2, with the earlier reader on 6.4 to 7.1. When WordPress 7.2 has random content addresses turned on (/random/ by default, or your own base), PerfLocale checks that the rewrite rules it stores contain the base in your site’s language, and flushes them again in the background when they do not.
  • A database WordPress runs on. On a SQLite site, SQLite Database Integration 3.x is the minimum supported version of that plugin.
  • A Linux or Windows server. Both work the same way: plugin updates, the file paths and skipped folders of a String Translation scan, and a GeoIP database file path such as C:/data/country.mmdb (see Geo Redirect).

What you do not need

PerfLocale does not need mbstring, iconv, ctype or intl.

Optional PHP extensions

Each extension below is checked before it is used. Everything else in PerfLocale works without them.

ExtensionEnablesWithout it
dom, libxml, xmlreaderXLIFF importXLIFF import is refused with a message
xmlwriterXLIFF exportXLIFF export is refused with a message
simplexmlXML sitemaps (WordPress core needs it too)WordPress does not render sitemaps
intlLocale-aware number and currency formattingWordPress number formatting is used
filterStricter URL syntax validation for webhooksA simpler built-in check is used
zlibA bulk machine translation job keeps provider answers compressed between background stepsAnswers are kept uncompressed; a resumed job whose saved answers need zlib stops and says so
curlOutgoing requests over cURL with the resolved address pinnedWordPress’s other transport is used, with its own pin
pcntlGraceful Ctrl+C in long WP-CLI commandsCtrl+C stops the command without the graceful stop

Most hosts ship dom, libxml, xmlreader, xmlwriter and simplexml together in the php-xml package.

Object cache

A persistent object cache such as Redis is recommended once a site passes roughly 2,000 translation links. It is not needed to get started. See Production Tuning for the setup.

Check your site

Open Tools → Site Health → Status and look for PerfLocale PHP extensions. It checks dom, libxml, xmlwriter, simplexml, filter and intl, and is only ever a recommendation, never a critical issue. It reads Optional PHP extensions are all available when every one is loaded. If some are missing, you see Some optional PHP extensions are not installed, with each missing extension and the feature it enables. zlib, curl and pcntl are not part of that check. See Troubleshooting if you need to act on it.