fix php "with" options and snmp support
fix php "with" options and snmp support

closes issue #1920

dguyon/homebrew-php,mkalkbrenner/homebrew-php,philcook/homebrew-php,ablyler/homebrew-php,TomK/homebrew-php