Hi,
There is no CLI command to enable or disable a PHP extension.
- Activating mysqli means having 'extension=mysqli' (without the quotes) in php.ini
- Disabling mysqli means having ';extension=mysqli' (without the quotes) in php.ini
But even if such a command existed, enabling or disabling a PHP extension is not just a matter of adding or removing a semicolon (

at the beginning of the relevant line.
It is therefore essential to restart the Apache service and, in this case, a Graceful Restart is sufficient.
It is also necessary that this activation or deactivation of extension is taken into account by the Aestan Tray Menu, thus launching the php script 'refresh.php' then the Aestan Tray Menu action 'readconfig'.
This is visible in the [php_ext_mysqli] section of the wampmanager.ini file
------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5 on W10 Pro 64 bit
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »