#43307 [Fbk]: compiled php CLI does not show interactive prompt
| From: | johannes@php.net | Date: | Fri, 16 Nov 2007 13:06:49 +0000 |
| Subject: | #43307 [Fbk]: compiled php CLI does not show interactive prompt | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119734@lists.php.net to get a copy of this message | ||
ID: 43307
Updated by: johannes@php.net
Reported By: keith at karsites dot net
Status: Feedback
Bug Type: *General Issues
Operating System: Fedora 8
PHP Version: 5.2.5
New Comment:
You have to compile PHP with --with-readline configure switch for the
interactive mode.
Previous Comments:
------------------------------------------------------------------------
[2007-11-16 11:38:25] jani@php.net
Those urls don't work. What was the configure line you used?
(I tested and php -a works just fine for me)
------------------------------------------------------------------------
[2007-11-15 21:10:09] keith at karsites dot net
New URL for the same bug report:
http://www.karsites.net/bug-reports-php/php-5.2.5-bug-43307.tar.gz
------------------------------------------------------------------------
[2007-11-15 21:05:13] keith at karsites dot net
Description:
------------
$ php -a does not show a command prompt
Reproduce code:
---------------
Here is a url to a tar.gz file containing the php executable, my
config.nice file, a screenshoot of what php -a does (or doesn't do), and
the full output from php -i saved to a text file.
http://www.karsites.net/bug-reports-php/php-5.2.5-bug.tar.gz
Expected result:
----------------
I expect php -a to output a command prompt so I can use php
interactively in a shell.
Actual result:
--------------
Please see the screenshot in the .png file inside the
php-5.2.5-bug.tar.gz file
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43307&edit=1