I\'m having some trouble installing phpv8js on Ubuntu.
I\'ve made sure I have a recent version of libv8 installed and have the required version of PHP but the instal
sudo apt-get install libv8-dev libv8-dbg g++ cpp
if you are getting error "Package 'libv8-dbg' has no installation candidate".
Then Try.
sudo apt-get install libv8-dev g++
sudo pecl install v8js-0.1.3
"extension=v8js.so"
to to your php.iniif you are getting "pecl: command not found" then install
php-pear package for the pecl
sudo apt-get install php-pear php5-dev
and try step 2