php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11363 Apache fails to start
Submitted: 2001-06-08 13:44 UTC Modified: 2001-10-20 23:06 UTC
From: glen at designsolution dot co dot uk Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.5/6 OS: Cobalt OS 4.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: glen at designsolution dot co dot uk
New email:
PHP Version: OS:

 

 [2001-06-08 13:44 UTC] glen at designsolution dot co dot uk
I configured PHP4.0.5 with:

./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr

which configured fine.

I compiled and installed with no problems.  When I came to 
restart Apache ( version 1.3.3 ), with 
/etc/rc.d/init.d/httpd restart

I get:

Shutting down http: httpd
Starting http: httpd

which usually indicates Apache has restarted okay.  
However, Apache is now not running and I cannot access any 
webpages on the server.

The server is a Cobalt Qube2.

Many thanks,

Glen Scott

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-15 10:19 UTC] glen at designsolution dot co dot uk
Here is the output I get from gdb:

Starting program: /usr/sbin/httpd -X

Program received signal SIGFPE, Arithmetic exception.
0x2ae4c000 in php_minit_crypt (type=1, module_number=2) at 
crypt.c:105
105             php_srand(time(0) * getpid() * 
(php_combined_lcg() * 10000.0));

 [2001-06-28 23:13 UTC] sniper@php.net
What are these constants set as in your main/php_config.h:

HAVE_SRANDOM
HAVE_SRAND48


--Jani
 [2001-06-29 03:57 UTC] glen at designsolution dot co dot uk
These are taken from the 4.0.6 release ( which has the same 
problem as 4.0.5 ):

HAVE_RANDOM 1
HAVE_SRAND48 1

 [2001-06-29 03:59 UTC] glen at designsolution dot co dot uk
sorry, that should be

HAVE_SRANDOM 1

-Glen

 [2001-10-20 23:06 UTC] sniper@php.net
Fixed in CVS.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 02:01:28 2025 UTC