From: booi at crunchyroll dot com Operating system: Fedora Core 6 x86_64 PHP version: 5.3.0 PHP Bug Type: *General Issues Bug description: Interactive mode - No prompt, no interaction
Description: ------------ PHP Interactive mode does not give a prompt nor allow any interaction. It is as if Readline was not compiled in. Reproduce code: --------------- php -a Expected result: ---------------- [b...@nexus3 ~]$ php -i | grep readline Configure Command => './configure' '--enable-fastcgi' '--enable-discard-path' '--enable-force-cgi-redirect' '--with-curl' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-mcrypt' '--with-mysql=/usr/local/mysql' '--with-openssl' '--with-pear' '--with-readline' '--with-ttf' '--with-freetype-dir=/usr/include/freetype2' '--with-xmlrpc' '--with-zlib' '--without-pdo-sqlite' '--without-sqlite' '--disable-pdo' '--enable-exif' '--enable-ftp' '--enable-inline-optimization' '--enable-mbstring' '--enable-soap' '--enable-sockets' readline [b...@nexus3 ~]$ php -v PHP 5.2.9 (cli) (built: Jun 20 2009 01:06:18) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies [b...@nexus3 ~]$ php -a Interactive shell php > Actual result: -------------- [b...@nexus4 bin]$ php -i | grep -i readline Configure Command => './configure' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache2/bin/apxs' '--disable-debug' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-soap' '--enable-sockets' '--enable-zip' '--with-bz2' '--with-curl' '--with-freetype-dir=/usr/include/freetype2' '--with-gd' '--with-jpeg-dir=/usr' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr/local/mysql' '--with-mysqli=mysqlnd' '--with-openssl' '--with-pdo-mysql=mysqlnd' '--with-pear' '--with-png-dir=/usr' '--with-xmlrpc' '--with-zlib' '--with-readline' readline [b...@nexus4 bin]$ php -v PHP 5.3.0 (cli) (built: Jun 30 2009 19:08:04) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies [b...@nexus4 bin]$ php -a Interactive mode enabled -- Edit bug report at http://bugs.php.net/?id=48759&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48759&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48759&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48759&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48759&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48759&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48759&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48759&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48759&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48759&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48759&r=support Expected behavior: http://bugs.php.net/fix.php?id=48759&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48759&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48759&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48759&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48759&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48759&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48759&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48759&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48759&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48759&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48759&r=mysqlcfg