Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:402 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7808 invoked from network); 28 Mar 2003 06:27:24 -0000 Received: from unknown (HELO www.lerdorf.com) (66.93.78.119) by pb1.pair.com with SMTP; 28 Mar 2003 06:27:24 -0000 Received: from [10.0.1.12] (12-235-53-226.client.attbi.com [12.235.53.226] (may be forged)) by www.lerdorf.com (8.12.8/8.12.8/Debian-2) with ESMTP id h2S6RMld006259 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 27 Mar 2003 22:27:23 -0800 Date: Thu, 27 Mar 2003 22:27:24 -0800 (PST) To: Mark Striebeck cc: internals@lists.php.net In-Reply-To: <3E83E8C9.2060801@vasoftware.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Problem with -c option and --with-config-file-path option From: rasmus@lerdorf.com (Rasmus Lerdorf) References: <3E83E8C9.2060801@vasoftware.com> Hey, J2EE/DB2 has a php.ini file? Cool. This is the wrong list for this question, but you could try using the PHPRC env var instead to set the location of your php.ini file. -Rasmus On Thu, 27 Mar 2003, Mark Striebeck wrote: > 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 > > > > >