Installing PHPv8js on Ubuntu

后端 未结 2 434
天涯浪人
天涯浪人 2020-12-16 03:16

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

2条回答
  •  心在旅途
    2020-12-16 04: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)

提交回复
热议问题