Re: [PHP] floating point exception after php 4 upgrade on raq 2

2001-11-20 Thread Steve Werby

Paul Schreiber [EMAIL PROTECTED] 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/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] floating point exception after php 4 upgrade on raq 2

2001-11-19 Thread Paul Schreiber

Old config:
Apache/1.3.12 (Unix) mod_auth_pam/1.0a PHP/3.0.15 configured

New config:
Apache/1.3.22 (Unix) mod_auth_pam/1.0a PHP/4.0.6 configured

From /var/log/httpd/error:
[Mon Nov 19 19:53:19 2001] [notice] child pid 30261 exit signal Floating 
point exception (8)
[Mon Nov 19 19:53:34 2001] [notice] child pid 30263 exit signal Floating 
point exception (8)
[Mon Nov 19 19:53:40 2001] [notice] child pid 30264 exit signal Floating 
point exception (8)
[Mon Nov 19 19:53:41 2001] [notice] child pid 30262 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)


What's going on / how do I fix this / what other information do you need?


Paul

 shad 96c / uw cs 2001 / mac activist / eda / fumbler
fan of / jewel / sophie b. / sarah slean / steve poltz / emm gryner /
   / x-files / buffy / dawson's creek / habs / bills / 49ers /
 
 t h i n k  d i f f e r e n t.

I've heard about your witness protection program -- it's called
 woodlawn cemetary. -- as heard on Law  Order


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]