Can I disable the PHP Dom Extension temporarily (for debug reasons), without having to reinstall / recompile PHP?
I want to install the module and I'm looking for a way to temporarily turn it off, so that I can turn it back on at another time.
Can I disable the PHP Dom Extension temporarily (for debug reasons), without having to reinstall / recompile PHP?
I want to install the module and I'm looking for a way to temporarily turn it off, so that I can turn it back on at another time.
Your extension has no runtime configuration options. If it cannot be controlled from php.ini, then your only option would be to un-install it and re-install it later.
--enable-dom=falseduring install might be what you're looking for – Martijn Jan 12 '15 at 10:41--disable-dom- http://php.net/manual/en/dom.installation.php). If this is for "debugging", can you not simulate (unit test) this? – MrWhite Jan 12 '15 at 12:34