Myself and at least one other person have had problems w/ httpd not starting if -D PHP4 is in HTTPD_OPTS. My USE settings: USE="slang pda cups tcltk readline gpm berkdb gdbm tcpd pam libwww ssl alsa nls mitshm perl python esd gif sdl vorbis ogg gnome gtk X qt kde motif opengl mozilla objprelink" The problem goes away if I compile PHP4 using USE="". Achim reports that php/httpd also works using slp tex gphoto2 slang readline gpm berkdb gdbm tcpd pam libwww ssl alsa nls mitshm perl python esd gif sdl vorbis ogg gnome gtk X qt kde motif opengl mozilla objprelink cups tetex swf xml2 flash xml quicktime lame libgda ldap tcltk directfb
I had this same problem, apache not starting when I had my use variables set to -D PHP4 -D SSL. To correct this, I removed the '4' from the PHP option, thus my HTTPD_OPTS were -D PHP -D SSL and it starts like a charm. Try doing this.
Same here, enabling PHP resulted in apache segfaulting# httpd -X -D PHP4Segmentation FaultMy use flags are (so you can compare..):slang, readline, gpm, berkdb, gdbm, tcpd, pam, libwww, ssl, oss, nls, mitshm, perl, python, gif, sdl, vorbis, ogg, gtk, X, qt, kde, motif, opengl, mmx, 3dnow, cups, lame, ggi, fbcon, svga, tex, aalib, arts, libg++Compiling with USE="" indeed solves the problem..
Current ebuild seems to be working for me. If anybody reports new problems I'll reopen it.