yadgen
V2EX  ›  PHP

macOS 使用 brew 里 php72 的版本为什么没有 mcrpyt 扩展呢?

  •  
  •   yadgen · Apr 2, 2018 · 5257 views
    This topic created in 2987 days ago, the information mentioned may be changed or developed.
    7 replies    2018-04-03 09:15:06 +08:00
    nullen
        1
    nullen  
       Apr 2, 2018
    php 7.2 版本的 mcrypt 已经废弃了,libsodium 了解一下。
    nullen
        2
    nullen  
       Apr 2, 2018
    yadgen
        3
    yadgen  
    OP
       Apr 2, 2018
    @nullen 那不就得自己安装了。
    vincenttone
        4
    vincenttone  
       Apr 2, 2018
    wget
    phpize
    ./configure
    make
    make install
    yadgen
        5
    yadgen  
    OP
       Apr 2, 2018
    @vincenttone 编译我知道,为啥 redis 我也找不到了。
    ruchee
        6
    ruchee  
       Apr 2, 2018
    这几天,homebrew-php 仓库大部分扩展都干掉了,等几天吧,看主仓库会不会再加回这些干掉的扩展,不然就只能自己编译安装了

    详情见这里: https://brew.sh/2018/01/19/homebrew-1.5.0/
    U7Q5tLAex2FI0o0g
        7
    U7Q5tLAex2FI0o0g  
       Apr 3, 2018
    homebrew-php 基本迁移到了 homebrew-core,php72 (默认为 php )已经自带编译了一些扩展,另一些不常用的,需要自己 pecl 安装(官方是这么说的)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2938 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 06:43 · PVG 14:43 · LAX 23:43 · JFK 02:43
    ♥ Do have faith in what you're doing.