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
For those of us that need the php5-snmp package, the above may not solve your problem. In that case you can try:
php5-snmp
sudo apt-get install snmp
which will install snmp for you, which seems to be required for the php5-snmp package to avoid outputting those errors.