Re: Compile PHP question
| From: | Red Wingate | Date: | Fri, 16 Apr 2004 08:46:19 +0000 |
| Subject: | Re: Compile PHP question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183590@lists.php.net to get a copy of this message | ||
Wrong one here:
http://de2.php.net/manual/en/features.commandline.php
[quote]
The CLI SAPI was released for the first time with PHP 4.2.0, but was still
experimental and had to be explicitly enabled with --enable-cli when
running ./configure. Since PHP 4.3.0 the CLI SAPI is no longer experimental
and the option --enable-cli is on by default. You may use --disable-cli to
disable it.
[/quote]
Using: './configure --enable-cli --with-mysql' is just right :-)
-- red
[...]
> > > Hi List,
> > >
> > > How do I compile php without apache, with mysql (client is installed)
> > > as cli.
> >
> > ./configure --enable-cli --with-mysql
>
> I believe cgi is enabled by default, so
>
> ./configure --disable-cgi --enable-cli --with-mysql
>
> would be better.
[...]