ID: 43307 Updated by: [EMAIL PROTECTED] Reported By: keith at karsites dot net -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Fedora 8 PHP Version: 5.2.5 New Comment:
As said before: You ave to use --witreadlien to get the interative shell mode. Previous Comments: ------------------------------------------------------------------------ [2007-11-16 15:52:28] keith at karsites dot net #! /bin/sh # # Created by configure './configure' \ '--with-apxs2=/usr/local/apache-2.2.6/bin/apxs' \ '--prefix=/usr/local/php-5.2.5' \ '--bindir=/usr/local/bin' \ '--enable-shared=all' \ '--with-pear=/usr/local/PEAR' \ '--with-mysql=shared' \ '--with-mysql-sock=/var/lib/databases/mysql/mysql.sock' \ '--with-mysqli=shared' \ '--with-pgsql=/usr/local/postgresql-8.2.5/bin' \ '--with-xsl' \ '--with-zlib-dir=/usr/include' \ "$@" What error message did you get when trying to access the URL's? I checked from my laptop, but that is allowed to access my web server in httpd.conf ------------------------------------------------------------------------ [2007-11-16 13:06:49] [EMAIL PROTECTED] You have to compile PHP with --with-readline configure switch for the interactive mode. ------------------------------------------------------------------------ [2007-11-16 11:38:25] [EMAIL PROTECTED] Those urls don't work. What was the configure line you used? (I tested and php -a works just fine for me) ------------------------------------------------------------------------ [2007-11-15 21:10:09] keith at karsites dot net New URL for the same bug report: http://www.karsites.net/bug-reports-php/php-5.2.5-bug-43307.tar.gz ------------------------------------------------------------------------ [2007-11-15 21:05:13] keith at karsites dot net Description: ------------ $ php -a does not show a command prompt Reproduce code: --------------- Here is a url to a tar.gz file containing the php executable, my config.nice file, a screenshoot of what php -a does (or doesn't do), and the full output from php -i saved to a text file. http://www.karsites.net/bug-reports-php/php-5.2.5-bug.tar.gz Expected result: ---------------- I expect php -a to output a command prompt so I can use php interactively in a shell. Actual result: -------------- Please see the screenshot in the .png file inside the php-5.2.5-bug.tar.gz file ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43307&edit=1