php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27266 modifying php.ini <docref_root> crashes apache 1.3.29
Submitted: 2004-02-15 15:51 UTC Modified: 2004-09-14 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: jimmybrock at yahoo dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.0.0b4 (beta4) OS: windows 2000
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: jimmybrock at yahoo dot com
New email:
PHP Version: OS:

 

 [2004-02-15 15:51 UTC] jimmybrock at yahoo dot com
Description:
------------
by default 'docref_root' and docref_ext are commented out.

I uncommented these variables and change 'docref_root' to the appropriate uri for the php manual and set the extension for 'docref_ext' to: .php

After saving php.ini I attempted to restart Apache 1.3.29 and it crahses. There is nothing written to Apache's error log.

After rebooting the machine Apache starts up on boot and runs fine. If there is an error in my code, I can click on the hyperlink and it will take me to the section of PHP.net manual for the error function that was called.

But if you restart the Apache service it will crash again - the only way to get Apache running is by rebooting the machine.

Note: I am running Apache as an ISAPI module, not CGI.

Reproduce code:
---------------
// uncommented and edited the following two lines of code in the php.ini file:

docref_root = "http://us2.php.net/manual/en/"
docref_ext = .php

Expected result:
----------------
I didn't expect Apache to crash just because I changed the location of the PHP manual. If I comment out the two lines of offending code...Apache will restart without any problem.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-15 16:02 UTC] sniper@php.net
Assigned to Marcus per his request.

 [2004-02-15 16:03 UTC] sniper@php.net
This most likely happens with PHP 4 too. (didn't test)

 [2004-03-30 21:16 UTC] ammarali at yahoo dot com
Howdy,

I got this several times with version php-5.0.0RC1-Win32. I didn't compile my own as it's a testing environment. Anyway, the apache I'm running is 1.3.27.

I noticed a crash that sounds a lot like Jimmy describes. However, I saw it with other variables too. For example, when I appended a new path at the end of PEAR's path, it crashed every time.

Works:
;***** Added by go-pear
include_path=".;C:\PHP\pear"
;*****

Crashes:
;***** Added by go-pear
include_path=".;C:\PHP\pear;C:\www"
;*****

Hope it helps, and is actually relevant.
 [2004-09-06 20:26 UTC] helly@php.net
Not reproduceable for me
 [2004-09-06 20:27 UTC] helly@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip


 [2004-09-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 14:01:29 2024 UTC