After installing mod_php with apache2 I tried to test it on a file containing <? phpinfo() ?> I got the message that document doesn't contain any data, and following lines in apache error log: [Wed Dec 11 23:50:50 2002] [error] Optional function test said: GET /test.php HTTP/1.1 [Wed Dec 11 23:51:02 2002] [error] Optional hook test said: GET /test.php HTTP/1.1 [Wed Dec 11 23:51:02 2002] [error] Optional function test said: GET /test.php HTTP/1.1 [Wed Dec 11 23:52:07 2002] [error] Optional hook test said: GET /test.php HTTP/1.1 [Wed Dec 11 23:52:07 2002] [error] Optional function test said: GET /test.php HTTP/1.1 [Wed Dec 11 23:52:57 2002] [notice] child pid 15873 exit signal Segmentation fault (11) [Wed Dec 11 23:52:57 2002] [notice] child pid 15872 exit signal Segmentation fault (11) [Wed Dec 11 23:52:57 2002] [notice] child pid 15871 exit signal Segmentation fault (11) [Wed Dec 11 23:52:57 2002] [notice] child pid 15870 exit signal Segmentation fault (11) [Wed Dec 11 23:52:57 2002] [notice] child pid 15869 exit signal Segmentation fault (11) [Wed Dec 11 23:52:57 2002] [notice] child pid 15868 exit signal Segmentation fault (11) [Wed Dec 11 23:52:58 2002] [notice] child pid 15884 exit signal Segmentation fault (11) [Wed Dec 11 23:52:59 2002] [notice] child pid 15887 exit signal Segmentation fault (11) etc. etc. etc. Versions: net-www/apache-2.0.43-r1 dev-php/mod_php-4.2.3-r1
I too am having this problem. As apache2+php is experimental, I really didnt expect it to work anyway ;-) Works well on my Gentoo 1.2 box, just not my 1.4 box.
gcc 3.2 issues?
did you merge mod_php with the use flag apache2? that might cause the problem (might want to look at bug #12582 )
.