Subject: Re: pkg/32000: PHP 4.1.1 is unstable
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: pkgsrc-bugs
Date: 11/11/2005 11:27:02
The following reply was made to PR pkg/32000; it has been noted by GNATS.
From: Martti Kuparinen <martti.kuparinen@iki.fi>
To: Manuel Bouyer <bouyer@antioche.eu.org>, gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/32000: PHP 4.1.1 is unstable
Date: Fri, 11 Nov 2005 13:25:35 +0200
This with my "new", better working httpd.conf...
# telnet localhost 80
Trying ::1...
Connected to localhost.
Escape character is '^]'.
GET /robots.txt
Connection closed by foreign host.
#
At the same time on error_log:
[Fri Nov 11 13:17:45 2005] [error] [client ::1] File does not exist:
/home/www/robots.txt
[Fri Nov 11 13:17:46 2005] [notice] child pid 2384 exit signal Segmentation
fault (11)
If I remove my error handler (/home/www/error/404.php) it doesn't crash any more.
[Fri Nov 11 13:20:23 2005] [error] [client ::1] File does not exist:
/home/www/robots.txt
[Fri Nov 11 13:20:23 2005] [error] [client ::1] script '/home/www/error/404.php'
not found or unable to stat
The error handler is like this, i.e. almost an empty file. It seems like it's
enough to start PHP without doing anything to trigger a crash.
<?php
?>