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. [...] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php