title: Make installed PCNTL extension available to command line PHP in MAMP
body: <p>I am using MAMP Pro to manage my development environments, the PHP is version 7.0.12 and is running in module mode.</p>
  
  <p>I have added the pcntl module for PHP and have compiled it following the directions from <a href="https://stackoverflow.com/a/8432855/1804656">this answer</a>.</p>
  
  <p>The pcntl.so file is in my <code>/Applications/MAMP/bin/php/php7.0.12/lib/php/extensions/no-debug-non-zts-20151012</code> folder.  Also, on my vhost I can output <code>phpinfo()</code> and verify that the extension is installed and additionally checked it by <code>function_exists('pcntl_signal')</code> which returns true.</p>
  
  <p>However, I can't get it to work when running PHP from the terminal.  I am using the one that MAMP installs and am invoking it through <code>/Applications/MAMP/bin/php/php7.0.12/bin/php</code>.  However, I get the error that the function pcntl_signal does not exist.</p>
  
  <p>Also running <code>/Applications/MAMP/bin/php/php7.0.12/bin/php -i | grep pcntl</code> doesn't output anything.</p>
  
  <p>Is there a way to make the pcntl module available to PHP through the command line in addition to the one apache is using?</p>