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.
| Extension | Enables | Without it |
|---|---|---|
dom, libxml, xmlreader | XLIFF import | XLIFF import is refused with a message |
xmlwriter | XLIFF export | XLIFF export is refused with a message |
simplexml | XML sitemaps (WordPress core needs it too) | WordPress does not render sitemaps |
intl | Locale-aware number and currency formatting | WordPress number formatting is used |
filter | Stricter URL syntax validation for webhooks | A simpler built-in check is used |
zlib | A bulk machine translation job keeps provider answers compressed between background steps | Answers are kept uncompressed; a resumed job whose saved answers need zlib stops and says so |
curl | Outgoing requests over cURL with the resolved address pinned | WordPress’s other transport is used, with its own pin |
pcntl | Graceful Ctrl+C in long WP-CLI commands | Ctrl+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.