In a case after you install a module, try to access admin page (http://localhost/drupal/admin/modules), but keep getting this error :

Capture

How to Fix:
Add the following to the end of httpd.conf to increase the Apache stack size to 8MB.

<IfModule mpm_winnt_module>
   ThreadStackSize 8388608
</IfModule>

Restart services and your good to go using any version of coder and other modules which have this issue.

Explanation:
‘coder_upgrade.info’ contains enough data to cause a ‘preg_match_all’ crash when drupal parses the info file. The fault happens in ‘drupal_parse_info_format’ in common.inc and your logs will show Apache restarting. Other symptoms are a module page that never loads and the connection reset issue you noticed.

This appears to be a known issue with php on windows and full credit for the fix I listed above e.g. https://bugs.php.net/bug.php?id=47689

So it appears that preg_match_all uses the stack which is too small on the WAMP Apache install so php crashes then Apache crashes and restarts. The fix increases the stack size to match a default Linux php apache setup.

So with that explained why does the dev version of coder work like you noticed. Well it appears this issue was spotted and they amended the description of the .info file in dev. While this get’s round the issue it just masks the real problem which will probably bite again for other modules or use of regular expressions e.g.
http://drupal.org/node/1277726

Looks like this ThreadStackSize increase solves some other issues also:
http://treehouseagency.com/blog/steven-merrill/2010/11/16/fix-common-win…

With that explained I can sleep and continue to use WAMP for quick development and testing 🙂

*Just came back to this for a new install and had to use the actual value e.g. 8388608 instead of 8*1024*1024. Have updated the above code.