zhaojinhong / modwsgi

Automatically exported from code.google.com/p/modwsgi
0 stars 0 forks source link

Document using plist to override whether Apache runs as 32 or 64 bit on MacOSX. #285

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I was able to force apache on leopard to run in 32-bit mode as follows.

in /System/Library/LaunchDaemons/org.apache.httpd.plist
add these three arguments the start of the <ProgramArguments> array:
                <string>/usr/bin/arch</string>
                <string>-arch</string>
                <string>i386</string>

the resulting apache command line looks like this:
/usr/bin/arch -arch i386 /usr/sbin/httpd -D FOREGROUND

Original issue reported on code.google.com by Graham.Dumpleton@gmail.com on 17 Nov 2012 at 9:33

GoogleCodeExporter commented 9 years ago
Closing out documentation issues. Will pick up another time on github side when 
get enough momentum to work on documentation again.

Original comment by Graham.Dumpleton@gmail.com on 12 Nov 2014 at 10:17