How can I get mod_wsgi working on Mac?

前端 未结 9 1944
眼角桃花
眼角桃花 2021-02-08 15:53

I have been trying to install the latest version of mod_wsgi (3.3) since hours on my Mac. I\'m on Snow Leopard and I have the versions of Apache (Apache/2.2.15) and Python 2.6.1

9条回答
  •  终归单人心
    2021-02-08 16:36

    I use the homebrew installed version of mod_wsgi. That gives me a universal version of mod_wsgi that works with the vanilla apache.

    ➔  file `brew list mod_wsgi`
    /usr/local/Cellar/mod_wsgi/3.2/libexec/mod_wsgi.so: Mach-O universal binary with 2 architectures
    /usr/local/Cellar/mod_wsgi/3.2/libexec/mod_wsgi.so (for architecture x86_64):   Mach-O 64-bit bundle x86_64
    /usr/local/Cellar/mod_wsgi/3.2/libexec/mod_wsgi.so (for architecture i386): Mach-O bundle i386
    

提交回复
热议问题