Click to See Complete Forum and Search --> : Seg Fault on 4.0.3pl


Anon
11-10-2000, 04:02 AM
I have just installed Apache 1.3.14, mod_perl 1.24.01 and php 4.0.3pl1 . I installed both as static modules, but apache has DSO support (mod_so compiled in).

When I try to view a REALLY simple php document, ie <? phpinfo() ?> the child process in apache segfaults. The page comes back to the browser as "no data"

The apache error log gives me
[Thu Nov 9 23:39:56 2000] [notice] child pid 20611 exit signal Segmentation fault (11)

please help
max

Anon
11-10-2000, 10:33 AM
i had the same problem with php 4.0.3 with apache 1.3.14.

i couldnt solve the problem, so I built php separately from apache.

Anon
11-10-2000, 03:05 PM
Hmm, as a DSO module, or as a CGI executable?

max

Anon
11-21-2000, 04:48 PM
We've been getting seg faults too. I've got 4.0.3pl1 as a DSO on 2 machines w/ apache 1.3.12. I'm building php like:

./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=$dir/$mysql \
--with-pfpro=$dir/$pfpro/linux/lib \
--with-gd=$dir/$gd --enable-track-vars \
--with-xml

The second machine has the same configuration except it is --with-mm and apache has mod_ssl built into it.

Apache is happy for 2 or 3 days and then it starts seg faulting (on both boxes). I don't know whether it is a given duration or a particular event that is triggering the seg faults. Once I bounce it everything is fine.

Anyone else seeing something similar? Or have a clue what is up?

Thanks.

-Floyd