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

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).

eAccelerator binaries for PHP 5.x (windows builds) Part 2

| |

eAccelerator download using latest code (0.9.6.1 with PHP 5.3.3).

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.

APC binaries for PHP 5.x (windows builds)

| |

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

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.

Running IIS and Apache on the same server

| | |

You can not have two services offered on the same ip and port numbers.
On the same server, different services (IIS and Apache) need a unique IP/Port combination.

1) IIS might be binding to all ips on port 80. This has been the standard behavior of IIS since many years. So to run Apache with IIS, you first need to make sure IIS does not bind (i.e. listen) on all ips. The following article will help you disable IIS 6 from automatically binding to all ips on the Windows 2003 Server.

Before IIS6 (i.e IIS5), you simply had to set the metabase property "DisableSocketPooling" to true (and that was it).
For details on doing this see: Disable socket pooling on IIS5

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

Syndicate content