douying1119 2018-05-21 05:44
浏览 99

无法在mac high sierra的homebrew上找到pcntl

I have been trying to install pcntl extension using homebrew in MacOS High sierra using command

brew install homebrew/php/php71-pcntl
brew install homebrew-php/php71-pcntl

Also tried with php54, 55, 56, 70 I m getting error

Updating Homebrew...

Error: No available formula with the name "homebrew/php/php7-pcntl" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/php is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/php)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.

Why its not finding the formulae on my Mac I have php 7.1.14 on my mac

  • 写回答

2条回答 默认 最新

  • doudiemei2013 2018-05-21 05:56
    关注

    In February and March 2018 the PHP formulas for the currently supported PHP versions (5.6, 7.0, 7.1, 7.2 at the moment of this writing) were moved to the core Homebrew tap and in April 2018 the PHP tap has been archived.

    To install the current PHP version (7.2) use:

    $ brew install php
    

    To install one of the other supported versions use:

    $ brew install php@5.6
    

    (replace 5.6 with 7.0 or 7.1 for the other versions).

    All the formulas installed this way contain the pcntl extension, there is no need for anything else.

    评论

报告相同问题?

悬赏问题

  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试,帮帮忙吧
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建