php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8707 Floating point exception (core dumped) at startup
Submitted: 2001-01-15 05:21 UTC Modified: 2001-01-15 05:58 UTC
From: ole at chaos dot dk Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.4pl1 OS: FreeBSD 3.3-RELEASE
Private report: No CVE-ID: None
 [2001-01-15 05:21 UTC] ole at chaos dot dk
httpd -l works fine but httpd -f httpd.conf results in a Floating point exception (core dumped) before serving any pages.

I added --with-mysql=/usr/local and have also tried with the buildin mysql-support. I have tried with apache 1.3.9, 1.3.12 and 1.3.14.

php.ini is the dist-file, only strange thing is I already is running php3.14 on port 80 and is trying to start php4 on port 81. The mysql installation is rather ancient (3.22.25), apache never gets to write anything in the errorlog befor exiting.

(gdb) run -X -f conf/httpd.conf
Starting program: /usr/local/etc/apachephp4/bin/httpd -X -f conf/httpd.conf
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGFPE, Arithmetic exception.
0x80a6491 in php_minit_crypt ()
(gdb) bt
#0  0x80a6491 in php_minit_crypt ()
#1  0x80a1f36 in php_minit_basic ()
#2  0x80e8073 in zend_startup_module ()
#3  0x8083eb0 in php_startup_extensions ()
#4  0x8084a5b in php_startup_internal_extensions ()
#5  0x80840f9 in php_module_startup ()
#6  0x8081f94 in sapi_apache_send_headers ()
#7  0x8082a02 in php_init_handler ()
#8  0x811c4a9 in ap_init_modules ()
#9  0x8125d01 in main ()
#10 0x80617f5 in _start ()


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-15 05:37 UTC] derick@php.net
Can you try the latest snapshot from snaps.php.net. There were some recent fixes for this.
 [2001-01-15 05:58 UTC] ole at chaos dot dk
php4-200101150145 installed and configured, the problem seems solved - thanks a lot for the prompt response
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC