Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90 - apache httpd fails to start w/ PHP-4.1.1 (and some prior versions)
Summary: apache httpd fails to start w/ PHP-4.1.1 (and some prior versions)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Damon Conway (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-08 16:45 UTC by Grant Goodyear (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Goodyear (RETIRED) gentoo-dev 2002-01-08 16:45:05 UTC
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
Comment 1 Mike 2002-01-09 15:10:07 UTC
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.

Comment 2 Jan Sabbe 2002-01-13 15:15:05 UTC
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.. 
Comment 3 Grant Goodyear (RETIRED) gentoo-dev 2002-02-06 11:24:32 UTC
Current ebuild seems to be working for me. If anybody reports new problems I'll
reopen it.