Mac OS X PHPにpcntlをインストール
やってみたいことがあったので。
$ php -v PHP 5.3.15 with Suhosin-Patch (cli) (built: Jul 31 2012 14:49:18) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
と出たので該当バージョンのPHPソースをダウンロード
http://jp1.php.net/get/php-5.3.15.tar.gz/from/this/mirror
$ tar xvfz php-5.3.15.tar.gz $ cd php-5.3.15/ext/pcntl/ Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script.
と出たので、autoconfをインストール
$ sudo brew install autoconf $ phpize $ ./configure $ make $ sudo make install $ sudo cp /etc/php.ini.default /etc/php.ini $ sudo chmod 744 /etc/php.ini $ sudo vi /etc/php.ini extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/pcntl.so" $ php -i|grep pcntl pcntl support => enabled
にて完了。