I think that the compiler changed from Visual C++ 2008 express to mingw. Is that true? Could that be the source of the problem?
Anyway, when I try it now, I get an error in my apache log that says:
httpd.exe: Syntax error on line 133 of C:/xampp-win32-1.7.2/apache/conf/httpd.conf: API module structure 'xsendfile_module' in file C:/xampp-win32-1.7.2/apache/modules/mod_xsendfile.so is garbled - expected signature 41503232 but saw 41503230 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?
So I should be able to re-compile it using apxs, right? Unfortunately, I can't get that to work either. Putting the mod_xsendfile.c in the C:/xampp-win32-1.7.2/apache/bin directory for convenience, I then open a command line in the same directory, and run
apxs -cia mod_xsendfile.c
apxs -c -i -a mod_xsendfile.c
And the error I always get is:
apxs:Error: "C:\xampp-win32-1.7.2\apache\bin"\httpd.exe not found or not executable
You would think a path problem would be easy to fix. Unfortunately, I've failed. Things I've tried:
- googling the error statement
- putting c:\xampp-win32-1.7.2 in the $PATH variable
- looking at permissions (appears globally executable)
- stopping the apache server while I run the apxs command
- using different flags
Nothing I have done seems to work. Any other ideas? Has anyone else gotten x-sendfile to work with the new xampp 1.7.2 (or 1.7.3) release?