[php-maint] Bug#419250: php5-cli: No prompt; commands are just echoed instead of executed

Mathias Brodala info at noctus.net
Sat Apr 14 15:50:00 UTC 2007


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




More information about the pkg-php-maint mailing list