php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48639 no prompt, no input in interactive mode
Submitted: 2009-06-22 10:13 UTC Modified: 2009-06-24 07:56 UTC
From: rockyroad29 at free dot fr Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2CVS-2009-06-22 (snap) OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rockyroad29 at free dot fr
New email:
PHP Version: OS:

 

 [2009-06-22 10:13 UTC] rockyroad29 at free dot fr
Description:
------------
php interactive mode is just not responding.

Details about my system:
---
$ php -v
PHP 5.2.11-dev (cli) (built: Jun 21 2009 20:21:29) 
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
$ uname -a
Linux claddagh 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux


Reproduce code:
---------------
$ php -a

Expected result:
----------------
Interactive shell

php > echo "hello";
hello
php >

--- 
This is output from
PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2009 14:35:05) 


Actual result:
--------------
Interactive mode enabled

echo "hello";      
^C


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-24 07:01 UTC] jani@php.net
Interactive shell is only available if you have compiled PHP with --with-readline. Otherwise it's the "old skool" version (ie. no shell, <?php and ?>)
 [2009-06-24 07:56 UTC] rockyroad29 at free dot fr
ok, I installed the snapshot quickly to check and report another bug.

Now I want to uninstall this /local/ installation of php, to let the main packaged be used instead. (Please don't tell me to change my PATH).

No "make uninstall" target is available. Another issue.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Dec 15 17:00:02 2025 UTC