Installing PHPv8js on Ubuntu

旧城冷巷雨未停 提交于 2019-11-29 02:07:14

You can type the following and you should be able to install v8js for php.

    sudo apt-get install libv8-dev libv8-dbg g++ cpp

Then type:

   sudo pecl install v8js-0.1.3

Add to php.ini :

    extension=v8js.so

Cheers, Contributed By: Zak Blog: (http://zaksoftwaredeveloperblog.blogspot.ca)

sudo apt-get install libv8-dev libv8-dbg g++ cpp

if you are getting error "Package 'libv8-dbg' has no installation candidate".

Then Try.

  1. sudo apt-get install libv8-dev g++

  2. sudo pecl install v8js-0.1.3

  3. "extension=v8js.so" to to your php.ini

if 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!