• I use PHP-FPM to deliver WordPress Pages. Following Modules are installed:

    • bcmath
    • curl
    • dba
    • dom
    • enchant
    • fileinfo
    • gd
    • imagick
    • imap
    • intl
    • ioncube_loader_lin_7.3
    • json
    • ldap
    • mbstring
    • mysqli
    • mysqlnd
    • odbc
    • opcache
    • pdo
    • pdo_mysql
    • pdo_odbc
    • pdo_pgsql
    • pdo_sqlite
    • pgsql
    • phar
    • posix
    • pspell
    • redis
    • soap
    • sodium
    • sqlite3
    • sysvmsg
    • sysvsem
    • sysvshm
    • tidy
    • xmlreader
    • xmlrpc
    • xmlwriter
    • xsl
    • zip

    (DB runs on mysqli, no other datavbases are used)

    I did find some pages, but not clear, what is the minimal possible modules to let WordPress run (not wp-cli).

    Can anymone list me, which I do not need, or which I need?

    Thanks

    • This topic was modified 4 years, 4 months ago by Stefan M..
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Yui

    (@fierevere)

    永子

    Please refer to
    Hosting handbook

    if you will be missing something important or optional,
    Dashboard: Tools > Health Check will tell you.

    PS:
    dba
    enchant
    intl
    ioncube_loader_lin_7.3
    ldap
    odbc
    pdo
    pdo_mysql
    pdo_odbc
    pdo_pgsql
    pdo_sqlite
    pgsql
    phar
    pspell
    tidy

    those are definitely unnecessary and are not used by any plugin or scenario for WordPress
    ** ldap can be used for ActiveDirectory integration (but this is unlikely you are using it)
    ** intl can be probably useful in future for some languages conversions (with “umlaut” symbols)

    • This reply was modified 4 years, 4 months ago by Yui.
    Dion

    (@diondesigns)

    The extensions that can safely be removed are dba, enchant, ldap, odbc, pspell, and tidy.

    Are you running any PHP applications other than WordPress? If not, then the following extensions can also be removed: ioncube_loader_lin_7.3, ldap, pdo_odbc, pdo_pgsql, pdo_sqlite, pgsql, and sqlite3. You can probably also remove the following extensions since they’re not used in the WP core and are almost never used by WordPress themes/plugins: bcmath, imap, redis, soap, xmlrpc, and xsl.

    Site health says the fileinfo extension is important, but it’s H-U-G-E and slow, and most PHP installations are better off without it.

    You can probably remove intl if the only language you use in WordPress is English.

    The phar extension is considered a part of the PHP core. Plugins built with PHP frameworks will contain a composer.phar file, and if you’re using such a plugin and the phar extension is no longer available, your site will crash. So don’t remove phar. ??

    You are missing the FTP extension, which WordPress and some plugins may require (depending on your server configuration).

    Moderator Yui

    (@fierevere)

    永子

    ^
    soap is used by woocommerce
    redis can be used with redis server and https://www.ads-software.com/plugins/redis-cache/ to improve site performance.

    Thread Starter Stefan M.

    (@stefan-m-1)

    thanks all, I try it and will test it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Modules’ is closed to new replies.