#20012 [Bgs->Csd]: --enable-cli doesn't seem to work.

From: Date: Mon, 21 Oct 2002 14:49:23 +0000
Subject: #20012 [Bgs->Csd]: --enable-cli doesn't seem to work.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22972@lists.php.net to get a copy of this message
ID: 20012 Updated by: edink@php.net Reported By: amir@abiri-e.com -Status: Bogus +Status: Closed Bug Type: *Configuration Issues Operating System: Linux Redhat-7.2 PHP Version: 4.2.3 New Comment: CLI was marked experimental in 4.2.x and is therefor not installed with "make install". You'll have to do that manually by copying sapi/cli/php from your PHP build dir to some directory in the path (/usr/bin for example). Previous Comments: ------------------------------------------------------------------------ [2002-10-21 09:49:15] sander@php.net The cli ends up in ./sapi/cli/php in your sourcedir and gets installed to (I think) /usr/local/bin/php. It gets installed _together_ with another SAPI, like CGI. 4.3.0 has a --disable-cgi switch so you can install the CLI alone. Just use 4.3.0 for full CLI support. ------------------------------------------------------------------------ [2002-10-21 09:41:49] amir@abiri-e.com I read about the new cli feature and wanted to try it out. I read that it isn't on by default in versions prior to 4.3.0, so I compiled the latest version 4.2.3 (this has nothing to do with this) and added --enable-cli. The functionality described in http://www.php.net/manual/en/html/features.commandline.php doesn't apply, plus nothing in the complition proccess seems to imply any notice to the switch, i.e I would expect the remark about the "You are compiling the CGI version of PHP without any redirection..." to not show up, or at least have some different syntax, plus perhaps some warning about cli being still in it's experimental stage. All and all it seems that eighter I missed something (although I read the docs again and again and haven't found anything but --enable-cli) or that the complition process somehow "skipped" that switch in some way. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20012&edit=1

« previous php.bugs (#22972) next »