Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:753 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34825 invoked from network); 7 Apr 2003 09:10:24 -0000 Received: from unknown (HELO walkabout.org) (12.106.145.56) by pb1.pair.com with SMTP; 7 Apr 2003 09:10:24 -0000 Received: from [68.21.34.51] (HELO cooglewin) by walkabout.org (CommuniGate Pro SMTP 4.0.3) with ESMTP id 19049290 for internals@lists.php.net; Mon, 07 Apr 2003 04:42:59 -0400 To: Date: Mon, 7 Apr 2003 05:10:18 -0400 Message-ID: <000601c2fce5$84789300$7301a8c0@cooglewin> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: CWD/Apache From: john@coggeshall.org ("John Coggeshall") 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/ -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-