Re: Always building command line PHP

From: Date: Thu, 03 Jan 2002 21:11:36 +0000
Subject: Re: Always building command line PHP
Groups: php.dev 
Request: Send a blank email to php-dev+get-75834@lists.php.net to get a copy of this message
** Reply to note from Jon Parise <jon@php.net> Thu, 3 Jan 2002 15:36:32 -0500 > > On Wed, Jan 02, 2002 at 04:39:24PM +0000, php4@developersdesk.com > wrote: > > > One thing to consider, at least the php.ini location needs to be > > different between the module and command line compiles. I suspect most > > people will have quite a few other differences in ./configure options > > between them too. I know I do. > > I don't see the necessity of requiring different php.ini files. > > You can specify the php.ini by using the -c option to the php binary, > as well. > Yes, but I'm too lazy to have to type it into every program I write, and if I do put it in every program I have to change it in each if I decide to move the .ini file. Also note that I said "at least" the .ini location. I find my /configure options to be quite different between the apache module and the command line builds. I don't use PHP as a CGI, all my command line programming is run from shell scripts or cron. Rick Rick Widmer Internet Marketing Specialists http://www.developersdesk.com

« previous php.dev (#75834) next »