Your message dated Thu, 1 May 2008 15:03:39 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Re: php5-cli: No prompt; commands are just echoed instead of 
executed
has caused the Debian Bug report #419250,
regarding php5-cli: No prompt in interactive mode; commands are just echoed 
instead of executed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
419250: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=419250
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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-----


--- End Message ---
--- Begin Message ---
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


--- End Message ---

Reply via email to