#27266 [Com]: modifying php.ini <docref_root> crashes apache 1.3.29
ID: 27266
Comment by: ammarali at yahoo dot com
Reported By: jimmybrock at yahoo dot com
Status: Assigned
Bug Type: Reproducible crash
Operating System: windows 2000
PHP Version: 5.0.0b4 (beta4)
Assigned To: helly
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-02-15 16:03:06] sniper@php.net
This most likely happens with PHP 4 too. (didn't test)
------------------------------------------------------------------------
[2004-02-15 16:02:31] sniper@php.net
Assigned to Marcus per his request.
------------------------------------------------------------------------
[2004-02-15 15:51:05] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27266&edit=1
Thread (7 messages)