Posted on Leave a comment

18 Best PHP Extensions for WordPress and many Plugins

I’ve gotten a few questions about what PHP extensions to have enabled for WordPress sites, and more specifically for WordPress + MemberPress.

MemberPress doesn’t necessarily need anything specific that WordPress itself doesn’t already make use of.

But here’s what I’ve found works best for me with my WordPress, MemberPress, WooCommerce etc.

Currently I run PHP 7.2 FPM via nginx on most sites. The PHP extensions enabled on all of them are:

  • mysqlnd
  • curl
  • ctype
  • fileinfo
  • iconv
  • mbstring
  • xmlreader
  • opcache (not really required but makes PHP faster)
  • dom
  • ftp
  • imagick
  • mysqli
  • zip
  • xml
  • exif
  • gd
  • json
  • tokenizer

Did I miss something you’ve found you can’t live without on your WordPress site, if so let me know in the comments.

Leave a Reply

Your email address will not be published. Required fields are marked *