首页 文章

php71成为php@7.1后,PHP的SNMP扩展已经消失了

提问于
浏览

2 回答

  • 1

    根据SMillerDev,此扩展现在编译为PHP .

    是的,扩展现在编译成PHP而不是共享 . 因此,您需要删除旧共享扩展的配置文件 .

    如你所知,he also said

    SNMP已从构建中排除,因为它崩溃了Apache .

    但是现在hombebrew-core中没有公开的问题 .

  • 0

    如果有人像我一样苦苦挣扎并且仍然想使用Homebrew,这就是我所做的:它是解决方法,但至少在问题由Homebrew正确解决之前有效 .

    https://github.com/Homebrew/homebrew-php/

    Reset the fork's master branch to latest working commit 5c90bd4 并强制推送到GitHub上的远程主站

    Untap Homebrew/homebrew-php

    brew untap homebrew/homebrew-php
    

    Tap your fork

    brew tap <your github username>/homebrew-php
    

    之后当你运行 brew search php 时,你可以使用'll see all good ol' php版本和扩展 .

    或者你可以使用这个点击https://github.com/kabel/homebrew-php-ext作为我创建的问题的guy放在一起

相关问题