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
php
Simply remove php5-snmp package. You can use this command in a console to do so:
sudo apt-get remove php5-snmp
With PHP 7, the package is php7.0-snmp:
sudo apt-get remove php7.0-snmp