32 bit Apache on Windows 7 x64 Error

Written by James McDonald

October 7, 2010

C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exe
Syntax error on line 62 of C:/Program Files (x86)/Apache Software Foundation/Apa
SSLSessionCache: Invalid argument: size has to be >= 8192 bytes



; use mklink to create a directory
C:\Program Files (x86)>MKLINK
Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    specifies the new symbolic link name.
        Target  specifies the path (relative or absolute) that the new link
                refers to.

MKLINK c:\admin\Apache "c:\Program Files (x86)\Apache Sof
tware Foundation" /d
symbolic link created for c:\admin\Apache <<===>> c:\Program Files (x86)\Apache
Software Foundation

Edit C:/Program Files (x86)/Apache Software Foundation/Apa

and change this
SSLSessionCache "shmcb:C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/ssl_scache(512000)"
to this
SSLSessionCache "shmcb:C:/admin/Apache/Apache2.2/logs/ssl_scache(512000)"



  1. How to set up your web server for Facebook Secure Browsing on Windows | Thought Labs Blog - [...] apache “logs” directory, remove the (x86) from “Program Files” to fix the annoying error for Apache on 64-bit Windows…
  2. How to Enable HTTPS on Apache on Windows 7 to Support Facebook Secure Browsing | Thought Labs Blog - [...] Anywhere that has the apache "logs" directory, remove the (x86) from "Program Files" to fix the annoying error for…

Submit a Comment

Your email address will not be published.

You May Also Like…

List your VSCode Extensions

Ever wondered what extensions you have installed and want to keep a list? This actually is a good way to audit your...