There can be a performance hit if apache is looking for .htaccess files in ea module dir, but this is configurable.<div><br></div><div>and this drush command will give you a list of all disabled modules</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; font-size: medium; ">
<span id="internal-source-marker_0.81767766806297" style="font-size: 11pt; font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; "><br>
</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; font-size: medium; "><span id="internal-source-marker_0.81767766806297" style="font-size: 11pt; font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">drush -l sitename pm-list --pipe --type=module --status=disabled</span></div>
<br><div class="gmail_quote">On Sun, Jan 9, 2011 at 7:04 PM, James Benstead <span dir="ltr">&lt;<a href="mailto:james.benstead@gmail.com">james.benstead@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Originally posted to <a href="http://drupal.org/node/1017416" target="_blank">http://drupal.org/node/1017416</a>:</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


I have a list of 60+ modules that I download, via drush, to each new Drupal site that I build. I then enable whatever modules are needed for the specific site I&#39;m working on as I carry out the build.</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


<br></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


This means that once the site is launched, there may be modules that are not being called by Drupal core but that are still enabled and/or installed.</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


<br></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


Is there an automated way - a specific module, for example - that will tell me which of the modules that are enabled on a site are being called by Drupal core?</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


<br></blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


Secondly, is there any performance implication for having lots of modules installed on a site if they are not enabled?</blockquote><div><br></div><div>The answer to the second question seems to be &quot;no&quot;. And It doesn&#39;t seem that such a module does exist - would it be technically possible to write this module for D6? </div>


</div><br clear="all">--Jim<br><font color="#888888">--<br>My IM and Skype details are at <a href="http://state68.com/contact" target="_blank">http://state68.com/contact</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>-- <br>--<br>Steve Power<br>Principal Consultant<br>Mobile: +44 (0) 7747 027 243<div>Fax: +44 (0)160 421 2871<br>Skype: steev_initsix<br><a href="http://www.initsix.co.uk" target="_blank">www.initsix.co.uk</a> :: Initsix Heavy Engineering Limited<br>
--<br>This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Initsix Heavy Engineering Limited.<br>
If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone.<br>Please contact the sender if you believe you have received this email in error.<br>
<br>Initsix Heavy Engineering Limited<br>Registered in the UK: 5036938<br>Registered Address: 243 Kettering Road, Northampton, NN2 7DU, England. </div><br>
</div>