Debian Bug report logs -
#419250
php5-cli: No prompt in interactive mode; commands are just echoed instead of executed
Reported by: Mathias Brodala <info@noctus.net>
Date: Sat, 14 Apr 2007 15:51:01 UTC
Severity: important
Found in version 5.2.0-10.1~highlightbg
Done: Raphael Geissert <atomo64@gmail.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#419250; Package php5-cli.
(full text, mbox, link).
Acknowledgement sent to Mathias Brodala <info@noctus.net>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5-cli
Version: 5.2.0-10.1~highlightbg
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If I start php5 in interactive mode (-a switch), then I get no prompt. Even
worse, entered code is not executed but just echoed if I stop via ^D. If I
do the same on a remote system (Suse) over SSH, then I get the "php> " prompt
and code gets executed directly.
Simple example:
> $ php5 -a
> Interactive mode enabled
>
> echo "Hello world!";
>
Pressing Enter after the command just results in nothing; the cursor just moves
to the next line.
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.20-1-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages php5-cli depends on:
ii libbz2-1 1.0.3-6 high-quality block-sorting file co
ii libc6 2.5-1 GNU C Library: Shared libraries
ii libcomer 1.39+1.40-WIP-2006.11.14+dfsg-2 common error description library
ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [
ii libkrb53 1.4.4-8 MIT Kerberos runtime libraries
ii libmagic 4.20-4 File type determination library us
ii libncurs 5.5-5 Shared libraries for terminal hand
ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi
ii libssl0. 0.9.8e-4 SSL shared libraries
ii libxml2 2.6.27.dfsg-1 GNOME XML library
ii mime-sup 3.39-1 MIME files 'mime.types' & 'mailcap
ii php5-com 5.2.0-10.1~highlightbg Common files for packages built fr
ii ucf 2.0020 Update Configuration File: preserv
ii zlib1g 1:1.2.3-13 compression library - runtime
php5-cli recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGIPgoYfUFJ3ewsJgRAi2sAJwOuavWx1Y8njK6wPY45g3e4jo2jQCfSDzX
4tZ2ORQqRZ0dqVlkBP6VaZU=
=2B+A
-----END PGP SIGNATURE-----
Changed Bug title to `php5-cli: No prompt in interactive mode; commands are just echoed instead of executed' from `php5-cli: No prompt; commands are just echoed instead of executed'.
Request was from Raphael Geissert <atomo64@gmail.com>
to control@bugs.debian.org.
(Thu, 01 May 2008 20:06:08 GMT) (full text, mbox, link).
Reply sent to Raphael Geissert <atomo64@gmail.com>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Mathias Brodala <info@noctus.net>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #12 received at 419250-done@bugs.debian.org (full text, mbox, reply):
retitle 419250 php5-cli: No prompt in interactive mode; commands are just echoed instead of executed
thanks
$ php5 -a
Interactive mode enabled
<?php echo "Hello world!"; ?>
Hello world
You need to use <?php and ?>.
The prompt is not available because the readline extension is not enabled.
Kind regards,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 30 May 2008 07:32:38 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 02:41:02 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.