Disable Classes

This directive disables the provided list of classes in the php.ini.

Once disabled, the classes may be created, via an extension or in the code of PHP. Custom classes may still be created and used.

// in php.ini

disable_classes="mysqli,socket,soapserver"

Documentation

Related : Disable Functions, php.ini