Can not use command line interpreter

前端 未结 9 1034
盖世英雄少女心
盖世英雄少女心 2021-02-05 09:58

I have tried to execute simple php code in the php interpreter. When I executed the command php -a I getting the message

Interactive mode ena

9条回答
  •  时光说笑
    2021-02-05 10:39

    To check if you have readline module installed, type: php -m | grep readline

    If nothing displayed, install readline module: sudo apt-get install php5-readline

    After module installation you can recheck it's presence with previous command, than enter interactive mode with: php -a

提交回复
热议问题