Home » Php » Unable to find pcntl on homebrew in mac high sierra

Unable to find pcntl on homebrew in mac high sierra

Posted by: admin September 16, 2018 Leave a comment

Questions:

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

Answers: