Re: fopen_wrappers.c DOCUMENT_ROOT .htaccess error

From: Date: Tue, 04 Aug 2009 04:16:46 +0000
Subject: Re: fopen_wrappers.c DOCUMENT_ROOT .htaccess error
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  Groups: php.internals 
Request: Send a blank email to internals+get-45211@lists.php.net to get a copy of this message
Quoting Scott MacVicar <scott@macvicar.net>:
On 4 Aug 2009, at 04:49, daniel@zoltak.com wrote:
Quoting Scott MacVicar <scott@macvicar.net>: [snip]
You might be able to use sapi_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT"))
This method dosen't appear to work.
Any chance of a clarification on "doesn't appear to work"? Does it fail to compile or is it killing unicorns :-)
To clarify it returns a NULL value. [snip]
Do you know the first version it stopped working? 5.2.7 - 5.2.10 is about 15 months worth of bug fixes. Narrowing it down to a particular version would help.
I will determine the first version it stopped working with and get back to you.

« previous php.internals (#45211) next »