If you are new to Python and mod_wsgi as you say, on MacOS X I would always strongly recommend you not go compiling any of Apache, Python, PHP etc yourself. Use the version of Apache, Python and PHP which are supplied by Apple. Using MacPorts, fink, homebrew or even compiling stuff from source code just causes more problems than its worth a lot of the time. The Apple versions of these work fine and in most cases people don't actually have a real need for the most up to date version.
Anyway, if you have it working now it doesn't really matter I guess. Graham On 25 February 2010 05:52, webair <[email protected]> wrote: > i couldn't find any way to fix that problem. so i compiled apache > again with 64 bit. and for some reason it works now.... > > but thx anyway for the help > > > On 24 Feb., 18:22, webair <[email protected]> wrote: >> Hi thanks for the quick response. >> >> i compiled mod_wsgi 3.1. also i tried to disable libphp, to check if >> there is a problem, but it still didn't work. >> >> On 24 Feb., 18:12, Shane Caraveo <[email protected]> wrote: >> >> >> >> > What version of wsgi? mod_wsgi 3 compiles clean and works with system >> > python and apache on 10.6, I dont set the arch specifically. There are >> > some issues with with some python modules and php, you might try >> > disabling mod_php and see if that is a part of the problem. >> >> > On 10-02-24 5:15 AM, webair wrote: >> >> > > Hi >> >> > > I am neew to python and modwsgi and i guess thats why i've got >> > > following problem: >> >> > > i compiled apache on my snow leopard with following output on the file >> > > command: >> >> > > file httpd >> > > httpd: Mach-O 64-bit executable x86_64 >> >> > > also i compiled php and mysql the same was. >> >> > > now the build-in python installation has following ouput with file: >> >> > > file python >> > > /usr/bin/python: Mach-O universal binary with 3 architectures >> > > /usr/bin/python (for architecture x86_64): Mach-O 64-bit executable >> > > x86_64 >> > > /usr/bin/python (for architecture i386): Mach-O executable i386 >> > > /usr/bin/python (for architecture ppc7400): Mach-O executable ppc >> >> > > when i compile mod_wsgi with 64bit arch and load the module in >> > > httpd.conf, i get a segmentation fault when i try to reach any page >> > > from my apache. i guess it has something to do with the diffrent arch >> > > settings. is there a solution how i can solve the problem without >> > > compiling apache and php again? >> >> > > thanks for the help >> >> > > webair > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
