Disabling an extension for php-fpm
From the manual page for configuration files:
If
php-SAPI.ini
exists (where SAPI is the SAPI in use, so, for example,php-cli.ini
orphp-apache.ini
), it is used instead ofphp.ini
. The SAPI name can be determined withphp_sapi_name()
.