mod_xsendfile for Win x64?

强颜欢笑 提交于 2019-11-30 20:55:04

I'm the author of mod_xsendfile.

I provide win32 binaries only as a courtesy. I still recommend you build yourself from the source. That way you can be sure the binary isn't tampered with, not even by me :p

There are currently no official Win64 Apache2 (or 2.2) builds from the Apache Foundation. Since I test my builds against the official binaries I cannot be sure the binaries will work once the foundation releases official Win64 binaries. Hence no Win64 builds from me

Building from the source is pretty much straight-forward if you aren't novice to (in the Windows case) Visual Studio. The binaries ZIP and/or my github repo contain project files you may import into your Apache solution. I was told even the free Visual Studio Express should be enough to do working builds. The thing is open source. Should there be unanticipated portability problems, I welcome patches ;)

As a last resort you can still run the official Win32 apache + mod_xsendfile on a Win64 box.

I was able to load mod_xsendfile in my system. Here's my setup:

-Windows 7 Ultimate x64 -Apache/2.2.9 (installed via Xampp 1.6.7)

Basically, I just downloaded the module from here: http://www.apachelounge.com/download/mods/mod_xsendfile-0.9-w32.zip

...extracted it to the "modules" directory of apache, added "LoadModule xsendfile_module modules/mod_xsendfile.so" to httpd.conf, then restarted apache.

After this, I checked the loaded modules using phpinfo(), and mod_xsendfile is already available.

Here are the binaries for both x32 and x64

https://github.com/nmaier/mod_xsendfile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!