Re: floating point exception after php 4 upgrade on raq 2
| From: | Steve Werby | Date: | Tue, 20 Nov 2001 17:16:55 +0000 |
| Subject: | Re: floating point exception after php 4 upgrade on raq 2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75269@lists.php.net to get a copy of this message | ||
"Paul Schreiber" <shrub@mac.com> wrpte"
<snip snip>
> >From /var/log/httpd/error:
> [Mon Nov 19 19:53:19 2001] [notice] child pid 30261 exit signal Floating
> point exception (8)
> # uname -a
> Linux www 2.0.34 #1 Thu Feb 25 21:04:19 PST 1999 mips unknown
> # gcc -v
> Reading specs from /usr/lib/gcc-lib/mipsel-redhat-linux/egcs-2.90.27/specs
> gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
</snip snip>
>
>
> What's going on / how do I fix this / what other information do you need?
I believe it's related to a documented bug in PHP on the mips processor.
Before you do ./configure edit line 105 in the PHP source distro of
ext/standard/crypt.c
and change it to:
php_srand(time(0) * getpid() * (php_combined_lcg() * 1.0));
I've upgraded Apache/PHP/MySQL dozens (maybe hundreds) of times from sourrce
on the RaQ1/2 so if you still have problems after that let me know.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/