how to install v8js

you can ref this:
http://www.phpied.com/installing-v8js-for-php-on-a-mac/

if you have no pear and pecl, you can ref this:
http://jason.pureconcepts.net/2012/10/install-pear-pecl-mac-os-x/

step:

0. install v8

brew install v8
  1. download pear
curl -O http://pear.php.net/go-pear.phar

2. install pear

sudo php -d detect_unicode=0 go-pear.phar

3. check pear and pecl version

pear version
pecl version

4. install v8js

sudo pecl install v8js-beta

5. install autoconf

brew install autoconf

6. vi /etc/php.ini, add to extension=v8js.so

7. restart your server, and you can check phpinfo, v8js should be contain.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.