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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC