ID:               20012
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         *Configuration Issues
 Operating System: Linux Redhat-7.2
 PHP Version:      4.2.3
 New Comment:

And the original php binary that is complied - I don't need it ? I mean
I want cli only when it comes to command line, so I can remove the php
binary that make install puts in my path without fear of interfering
with the php apache module's work ?

Do I have to use --diable-cgi to get the cli behave exactly like the
doc describes it ? or is it enough to use the cli binary ? (I have
already noticed that implicit_flush isn't on by default)


Previous Comments:
------------------------------------------------------------------------

[2002-10-21 09:49:22] [EMAIL PROTECTED]

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).

------------------------------------------------------------------------

[2002-10-21 09:49:15] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

Reply via email to