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
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
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
apt-get install snmp-mibs-downloader
Isn't this the best answer? Found @ https://serverfault.com/questions/440285/why-does-snmp-fail-to-use-its-own-mibs
This also helped me.
sudo apt-get install snmp
https://www.digitalocean.com/community/questions/installed-php-7-0-now-returns-errors