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, 7 months ago by
Yui.
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)
永子
thanks all, I try it and will test it.