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

前端 未结 10 2170
粉色の甜心
粉色の甜心 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 15:55

    These warning messages appear because the PHP init can not find the mod config in the user dir. So you have to do the following steps:

    1) edit your etc/php/{yourversion}/mods-available/snmp.ini and comment or delete the following strings:

    ; configuration for php snmp module
    ; priority=20
    ;extension=snmp.so
    ~                                                                                                                                                                                                                  
    ~   
    

    2) run apt-get --purge remove php-snmpt

提交回复
热议问题