Ubuntu typing 'php' in terminal shows a lot of errors

前端 未结 10 2138
粉色の甜心
粉色の甜心 2020-12-07 15:17

I\'m using Ubuntu 13.10 and php is installed and working perfectly. But, when I type php in the terminal, it lists a lot of errors (and after that, it goes to w

10条回答
  •  有刺的猬
    2020-12-07 16:01

    You should try a reinstall through apt-get

    sudo apt-get remove php
    sudo apt-get install php
    

    In most cases it is enough to just reinstall the offending extension.

    sudo apt-get remove php5-snmp
    

提交回复
热议问题