Knowledge base for Windows Webmasters, Administrators and Web hosting compagnies, with a special attention to WAMP (Windows Apache MySQL PHP). Most articles/tips are currently in use on web hosting servers. This is an open site, please participate or even join us.
New:
eAccelerator 0961 for PHP 5.3.3
eAccelerator 0961 for PHP 5.2.14
eAccelerator 0.9.5.1 for PHP 4.4.9

Upgrade Gallery 2.0 to Gallery 2.1.1

Reference: http://codex.gallery2.org/index.php/Gallery2:faq#How_to_upgrade_Gallery2.3F

This is exactly what I did and went perfectly well.

1) Backup MySQL DB and g2 data directory and current G2 app files.

2) Download full install unzip over existing. Keep the existing config.php in place, this should not be an issue since a new install should not contain one)

3) Disabled the current gallery module from within Drupal

eAccelerator binaries for PHP 5.x (windows builds)

For the Windows eAccelerator for php 5.3+ visit our new page at:eAccelerator binaries for PHP 5.3+.

Updated: eAccelerator download using latest code (0.9.5.3 with PHP 5.2.9).

Please find following the compiled binaries of eAccelerator for Windows using Microsoft VC++ 6. For PHP 4 versions: eAccelerator binaries for PHP 4.x.
If you need a version not offered here, let us know (post comment).

IIS Optimizing logging for Awstats & reduce logs size by over 50%!

High traffic sites can easily get daily logs over 100MB. It can be very beneficial to log only the information we actually use. We will require the minimum logging for decent Awstats reports. We will copy the recommended Apache LogFormat:
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %V"

For more details on the meaning of these values see: Apache Preferred Awstats Custom Log Formats.

Apache Rotatelogs.exe for Windows Server

When using the Apache tool, rotatelogs.exe, you can see (using the task manager) multiple instances of rotatelogs.exe. Even when using it on just 1 web site!
To make this issue even more disastrous when restarting the Apache (httpd.exe), not all instances of rotatelog.exe are released.
Doing some research on the web it looks like this issue has been going on since years (Apache 1.3, 2.0 and now 2.2....).
Note: I've verified this issue with both Apache 2.0.55 and 2.2.0

Setting up PHP as Fast CGI (FCGI) under Apache

1) Download the Apache mod_fcgi module: http://fastcgi.coremail.cn/

2) Configuration in your Apache httpd.conf:
a) LoadModule fcgid_module modules/mod_fcgid.so

b.1) <Directory "C:/Apache2/htdocs/php/">
    SetHandler fcgid-script
    Options execCGI

Apache Better Log Rotation mod_log_rotate

Important: The Apache provided tool rotatelogs.exe is to buggy to use "for real", see: Apache Rotatelogs.exe for Windows Server

Determine and Change your Windows version or Product Key

Here are some commands, tools and links to help determine and/or change your Windows Product Key.

  • Run the command: winver
  • Control Panel-->System
  • ProduKey from NirSoft
  • Retrieve my Windows 2000/XP/2003 or Office 2000/XP CD Key tool: Magical Jelly Bean Keyfinder
  • Other tool to read Microsoft registry product keys:  CD Key Reader
  • Tool to determine what hardware "XP activation" detected has changed on your system: http://www.licenturion.com/xp/