Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:401 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97850 invoked from network); 28 Mar 2003 06:16:44 -0000 Received: from unknown (HELO mail.vasoftware.com) (198.186.202.175) by pb1.pair.com with SMTP; 28 Mar 2003 06:16:44 -0000 Received: from h-69-3-24-4.snvacaid.covad.net ([69.3.24.4] helo=vasoftware.com) by mail.vasoftware.com with asmtp (Cipher TLSv1:RC4-MD5:128) (Exim 3.31-VA-mm2 #1 (Debian)) id 18ynAR-0004gO-00 by VAauthid with fixed_plain for ; Thu, 27 Mar 2003 22:16:43 -0800 Message-ID: <3E83E8C9.2060801@vasoftware.com> Date: Thu, 27 Mar 2003 22:16:41 -0800 Reply-To: mstriebeck@vasoftware.com Organization: VA Software User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Problem with -c option and --with-config-file-path option From: mstriebeck@vasoftware.com (Mark Striebeck) Hi, we are building PHP with the --with-config-file-path compile setting to get our php.ini file from our own location. Now, in some scenarios we need to run PHP with the -c command line option to get the php.ini file from a different location. This seems to cause problems! When using the -c command line option, our PHP files cannot find their includes anymore. My last attempt was to set the -c command line option to the exact same location that we use for the --with-config-file-path compile setting. With the same result: without the -c option everything works, with the -c setting the include files are not found. What are the differences between these two options? Does the -c have any other side effects? Thanks MarkS --------------------------------------------------- Mark Striebeck SourceForge Engineering Manager VA Software http://www.vasoftware.com