Apache+mod_ssl + mod_php segfault

Vonleigh Simmons nospam at illusionart.com
Mon Sep 6 16:10:22 PDT 2004


	I've been battling this for a while. I'm running FreeBSD 5.2-RELEASE, 
apache is apache13-modssl, php is the mod_php version. All latest 
versions (cvsup this morning).

	The problem is that apache segfaults on startup when 
loadmodule/addmodule php are in the config file. Originally I fixed the 
problem by compiling apache without expat. However, after a portupgrade 
it stopped working again.

	Right now it's working with a major kludge: start up apache with 
loadmodule/addmodule commented out, comment them back in and do an 
apachectl restart. Somehow this lets apache work without segfaulting. 
However, if I do an apachectl graceful/restart, then it segfaults again 
and won't start up.

	I've tried recompiling apache, recompiling php, getting rid of php 
extensions, etc, all to no avail. Any help or ideas are greatly 

Vonleigh Simmons

More information about the freebsd-questions mailing list