Re: Critical Bug #20887

From: Date: Thu, 12 Dec 2002 10:13:59 +0000
Subject: Re: Critical Bug #20887
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-92398@lists.php.net to get a copy of this message
On Thu, 12 Dec 2002, Jani Taskinen wrote: > On Thu, 12 Dec 2002, Moriyoshi Koizumi wrote: > > >Hmm... it's natural that when apache is launched at /, it should read > >/php.ini because of the current implementation shown below. > > > >274 #ifdef INI_CHECK_CWD > >275 if (strcmp(sapi_module.name, "cli")!=0) { > >276 if (*php_ini_search_path) { > >277 strcat(php_ini_search_path, paths_separator); > >278 } > >279 strcat(php_ini_search_path, "."); > >280 } > >281 #endif > > Yeah, but I'm not launching it at /.. AFAIK apache always does a chdir('/') when you start it. Derick -- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------

« previous php.dev (#92398) next »