CWD/Apache
| From: | John Coggeshall | Date: | Mon, 07 Apr 2003 09:10:18 +0000 |
| Subject: | CWD/Apache | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-753@lists.php.net to get a copy of this message | ||
Is it necessary to check CWD for mod_php when reading php.ini? If its
not any problem with changing
#define INI_CHECK_CWD
To...
#ifndef HAVE_APACHE
#define INI_CHECK_CWD
#endif
Instead? Since Apache changes CWD to / even if php.ini is in
/usr/local/lib/ the CWD takes precdence and the one in root will be
loaded..
John
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org http://www.coggeshall.org/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-