I'm using Macports on OS X 10.6 to manage Apache, PHP, and Python. I've never had any problems and the setup works great. However, when I add mod_wsgi to the mix Apache immediately crashes with a segmentation fault. Here's what's installed via macports:
- apache2 @2.2.17_0+preforkmpm
- php5 @5.3.3_1+apache2+pear
- python27 @2.7.1_0
- mod_wsgi @3.2_0+python27
After installing mod_wsgi, adding it to httpd.conf, and restarting apache, it seg faults every time. I do not have mod_python installed. If I remove mod_php by commenting it out of httpd.conf, apache runs fine. So it's clearly the mix of mod_wsgi and mod_php that's causing a crash. Any ideas on what's wrong? How can I avoid the seg fault when both are running together?