ID: 9088 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Apache related Operating System: Redhat MIPS (Cobalt RAQ2) PHP Version: 4.0.4pl1 New Comment:
Fixed in CVS. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-06-05 10:43:53] [EMAIL PROTECTED] User feedback: -------------- Program received signal SIGFPE, Arithmetic exception. 0x2af2cc94 in php_rinit_crypt (type=0, module_number=0) at crypt.c:113 113 php_srand(time(0) * getpid() * (php_combined_lcg() * 10000.0)); (gdb) backtrace #0 0x2af2cc94 in php_rinit_crypt (type=0, module_number=0) at crypt.c:113 #1 0x2af221b4 in php_rinit_basic (type=1, module_number=2) at basic_functions.c:852 #2 0x2aec9610 in module_registry_request_startup (module=0x100d9558) at zend_API.c:765 #3 0x2aecc930 in zend_hash_apply (ht=0x2b0120f8, apply_func=0x2aec95c8 <module_registry_request_startup>) at zend_hash.c:688 #4 0x2aec5154 in zend_activate_modules () at zend.c:514 #5 0x2aee3d74 in php_request_startup () at main.c:622 #6 0x2aedf454 in apache_php_module_main (r=0x0, display_source_mode=0) at sapi_apache.c:66 #7 0x2aee0704 in send_php (r=0x100edec8, display_source_mode=0, filename=0x0) at mod_php4.c:536 #8 0x2aee0788 in send_parsed_php (r=0x0) at mod_php4.c:547 #9 0x45ff20 in ap_invoke_handler () #10 0x47bb68 in ap_some_auth_required () -------------- This is another report which has the same problem. Same platform. --Jani ------------------------------------------------------------------------ [2001-06-03 06:38:08] [EMAIL PROTECTED] Please try the latest release candidate: http://www.php.net/~andi/php-4.0.6RC2.tar.gz If it doesn't work either, configure it with --enable-debug and try to start Apache withing gdb. # gdb httpd (gdb) run -X .. --Jani ------------------------------------------------------------------------ [2001-02-03 14:35:36] [EMAIL PROTECTED] Apache will NOT start when compiled with PHP404sp1. Tested with serveral combinations of Apache 1.3.12, 1.3.17, PHP 4.0.2, PHP 4.0.3sp1, PHP 4.0.4sp1, and with (and without) Openlink, versions 3.2 and 4.0. Running on a Cobalt RAQ2 (Cobalt Linux release 4.0 (Fargo) Kernel 2.0.34 on a mips) No warnings or errors shown during make/configure etc. SUMMARY : PHP, version 404sp1 only, is causing Apache not to start (Haven't tested with 404, or with CVS). REASON: unknown. -sigh- 1. Normal promts still showing (says 'Starting HTTPd' ...). 2. Nothing logged by Apache (etc/httpd/logs) 3. 'ps ax' reaveals NO httpd processes running Install Process: (apache) ./configure --prefix=/etc/httpd (php) ./configure --with-openlink=/usr/local/openlink --with-mysql --with-apache=../apache_1.3.12 --enable-track-vars make make install (apache) ./configure \ "--with-layout=Apache" \ "--prefix=/etc/httpd" \ "--enable-module=rewrite" \ "--enable-module=so" \ "--enable-module=mmap_static" \ "--enable-module=log_agent" \ "--enable-module=log_referer" \ "--enable-module=mime_magic" \ "--enable-module=info" \ "--enable-module=speling" \ "--enable-module=auth_anon" \ "--enable-module=auth_dbm" \ "--enable-module=auth_db" \ "--enable-module=digest" \ "--enable-module=cern_meta" \ "--enable-module=expires" \ "--enable-module=headers" \ "--enable-module=usertrack" \ "--enable-module=example" \ "--enable-module=unique_id" \ "--activate-module=src/modules/php4/libphp4.a" \ "--activate-module=src/modules/extra/mod_auth_pam.o" \ "$@" make ... copied php.ini; edited srm.conf; /etc/rc.d/init.d/httpd.init stop cp /tmp/apache_1.3.X/src/httpd /usr/sbin/httpd /etc/rc.d/init.d/httpd.init start Please let me know how to enable additional logging etc to discover why Apache won't start. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=9088&edit=1 -- PHP Development 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]