Following my upgrade to Snow Leopard, Apache started producing segfaults for virtually any request. I tried reinstalling the Entroyp.ch PHP package (which doesn’t work with Snow Leopard), commenting LoadModule php5_module in /etc/apache2/httpd.conf, and a host of other things but the thing that ended up solving the problem for me was:
- Be sure to use the PHP that comes with Snow Leopard (leave LoadModule php5_module uncommented – don’t use the entroyp.ch package, sorry Marc!)
- Comment out LoadModule dav_svn_module /opt/subversion/lib/svn-apache/mod_dav_svn.so
The bottom line is, any modules that were not built against the current (Snow Leopard) version of Apache will probably cause some sort of segfault.
Since the version of PHP that comes with Snow Leopard may be missing some of your favorite extensions, here’s a link to some instructions on how to include them (untested by me): Making Snow Leopard’s PHP 5.3.0 usable in the real world
I sure hope this saves someone the 3 hours of pointless poking around that I lost this morning!