#20012 [Opn->Bgs]: --enable-cli doesn't seem to work.
| From: | sander@php.net | Date: | Mon, 21 Oct 2002 14:49:15 +0000 |
| Subject: | #20012 [Opn->Bgs]: --enable-cli doesn't seem to work. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22971@lists.php.net to get a copy of this message | ||
ID: 20012
Updated by: sander@php.net
Reported By: amir@abiri-e.com
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Linux Redhat-7.2
PHP Version: 4.2.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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