Re: Always building command line PHP
| From: | php4 at developersdesk dot com | Date: | Wed, 02 Jan 2002 16:39:24 +0000 |
| Subject: | Re: Always building command line PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-75709@lists.php.net to get a copy of this message | ||
** Reply to note from Jon Parise <jon@php.net> Wed, 2 Jan 2002 15:32:58 -0500
>
> On Wed, Jan 02, 2002 at 09:33:32PM +0200, Andi Gutmans wrote:
>
> > Creating a CLI sapi module w/o all of the CGI crap is extremely easy.
> > What might be more challenging is fixing the build so that it always builds
> > the cli.
>
> Let's focus on the best way to do this before addressing the plethora
> of other issues related to bringing PEAR up to par.
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.
Maybe just changing the INSTALL instructions from "here is how you can
compile the command line version" to "now you should compile the
command line version" is the best bet.
Rick
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com