Disabling PHP extension globally

Navigation:  PHP Selector >

Disabling PHP extension globally

Previous pageReturn to chapter overviewNext page

If you want to disable PHP extension globally, you don't need to remove file /opt/alt/phpXX/etc/php.d.all/$EXTENSION.ini. You should just comment out "extension=" directives in it.

 

The extension will be visible in PHP Selector interface, but selecting it in users's interface will take no effect - extension will be disabled in fact.

 

Reinstalling of alt-php packages will not reset settings (will not enable extension again).