jholder Posted June 11, 2008 Share Posted June 11, 2008 Hi all, this is kind of a weird question. I have an extension loaded into php.ini. I would like this module to not be loaded in a virtual host, and needs to be loaded runtime, meaning we have to put it in .htaccess. Easy, right? Well, here's the kicker: There isn't a key to disable the particular key/class we don't want. So now my question: Is there a way to disable a module by name in the .htaccess file? We could disable it in php.ini, then call it for each virtual domain, but that is resource intensive. Thanks!! Quote Link to comment https://forums.phpfreaks.com/topic/109776-disable-php-extension-by-name-in-htaccess/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.