Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4445

Re: repair SUSE php5 -a

From "M. Strobel" <sorry_no_mail_here@nowhere.dee>
Newsgroups comp.lang.php
Subject Re: repair SUSE php5 -a
Date 2012-01-12 18:03 +0100
Message-ID <9n8i29FnudU1@mid.uni-berlin.de> (permalink)
References <9n80s2Fg07U1@mid.uni-berlin.de> <jemv94$4n1$1@dont-email.me> <9n8fgrF2qcU1@mid.uni-berlin.de> <jen3bt$u9n$1@dont-email.me>

Show all headers | View raw


Am 12.01.2012 17:56, schrieb "Álvaro G. Vicario":
> El 12/01/2012 17:19, M. Strobel escribió/wrote:
>> Am 12.01.2012 16:46, schrieb "Álvaro G. Vicario":
>>> El 12/01/2012 13:09, M. Strobel escribió/wrote:
>>>> On suse linux "php5 -a" has (always?) been broken.
>>>>
>>>> Compare it to Ubuntu "php5 -a" if you don't know what I mean.
>>>>
>>>> Can it be repaired?
>> --cut
>>
>>> You assume that most people here have both a SuSE and an Ubuntu box at hand but I
>>> don't think that's the case (not at least mine). Perhaps you could explain what the
>>> problem is.
>>>
>>
>> Es algo esencial en mi opinión. It helps you just do tests interactively.
>>
>> SUSE:
>> --------------------------
>> strobel@s114-intel:~>  php5 -a
>> Interactive mode enabled
>>
>> <?php echo "hallo";
>> exit
>> ;
>> ^C
>> strobel@s114-intel:~>
>> --------------------------
>> Ubuntu:
>> --------------------------
>> strobel@u-s-dev1:~$ php5 -a
>> Interactive shell
>>
>> php>  echo "hi there";
>> hi there
>> php>  exit
>> strobel@u-s-dev1:~$
>> --------------------------
> 
> Alright, that looks like missing "readline" feature, so my guess was sort of correct :)
> 
>> The problem might just be a config thing.
> 
> First of all, please check whether phpinfo() displays "--with-readline" as I suggested.

Your link to php.net gave me this idea immediately. But it is not the problem, "php5
-m" shows the compiles modules (called "extensions" by some), readline is there.

Now the problem could be a missing readline in the system, but no:

strobel@s114-intel:~> rpm -qa | grep readline
php5-readline-5.3.5-5.16.1.x86_64
readline-doc-6.1-18.25.1.noarch
libreadline6-6.1-18.25.1.x86_64
readline-devel-6.1-18.25.1.x86_64

More suggestions?

/Str.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

repair SUSE php5 -a "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-12 13:09 +0100
  Re: repair SUSE php5 -a Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-12 08:52 -0500
  Re: repair SUSE php5 -a "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-01-12 16:46 +0100
    Re: repair SUSE php5 -a "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-12 17:19 +0100
      Re: repair SUSE php5 -a "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-01-12 17:56 +0100
        Re: repair SUSE php5 -a "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-12 18:03 +0100
          Re: repair SUSE php5 -a "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-12 18:33 +0100
            Re: repair SUSE php5 -a "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-01-12 18:45 +0100
              Re: repair SUSE php5 -a "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-12 19:06 +0100
  Re: repair SUSE php5 -a "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-14 11:19 +0100

csiph-web