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 0953 for PHP 5.2.10
eAccelerator 0.9.5.1 for PHP 4.4.9

eAccelerator binaries for PHP 5.x (windows builds)

| |

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.

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

How to enable Apache compression with mod_deflate

| |

Apache comes standard with the mod_deflate module that enable you to compress the content of web pages before they are sent over the wire. Please note that you should probably disable other compressors (like PHP compression, if enable) before using the Apache compression feature.

To enable compression under Apache with the module mod_deflate, please follow these instructions:

eAccelerator

|

We have been using this PHP accelerator (0.9.X), on multiple servers, for a long time. It's used on some high traffic sites without any problem.

Install:
a) Download a copy of eAccelerator that is compatible with your version of PHP.
This can be an issue with eAccelerator. Sometimes it can take a little time before the Windows binaries are available for the most recent version of PHP.

Protect your Vbulletin config.php using a .htaccess under Apache

The following step(s) will help protect your config.php used by VBulletin even if php stops working.

1) This step might be optional for most. Since I do not use .htaccess files "normally", in my sites configuration file (that is then included in the http.conf for Apache).
I added the directives:
<Directory "E:/DomZeus/sitebuddycom/wwwroot/board/includes">
AllowOverride FileInfo Options Limit
</Directory>

This will enable .htaccess in that folder and permit the usage of "order" directive.

APC binaries for PHP 5.x (windows builds)

| |

Updated: APC download using latest code (3.0.12p2).

Syndicate content