Re: fopen_wrappers.c DOCUMENT_ROOT .htaccess error

From: Date: Wed, 05 Aug 2009 03:10:07 +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 17 18 19 20  Groups: php.internals 
Request: Send a blank email to internals+get-45216@lists.php.net to get a copy of this message
Quoting daniel@zoltak.com:
Quoting Scott MacVicar <scott@macvicar.net>: Ideally both should be performed to ensure the error_log path is within the open_base.
In the function OnUpdateErrorLog in main.c is there anyway to obtain the HTTP_HOST or SERVER_NAME variable or ideally the DOCUMENT_ROOT. I have tried using getenv() and sapi_getenv() without success. Are there any other methods?

« previous php.internals (#45216) next »