我尝试在Debian / Jessy上为PHP-5.6安装pecl-v8js。
$ apt-get install php5 php5-dev libapache2-mod-php5 apache2 php5-cli libv8-dev g++ cpp ... $ pecl install v8js-0.6.3 ... checking for V8 version... 3.14.5.8 configure: error: libv8 must be version 4.6.76 or greater ERROR: `/tmp/pear/temp/v8js/configure --with-v8js' failed
我如何升级libv8到所需的4.6.76?
您需要从源代码构build。 即使Debian不稳定,仍然有3.14.5.8打包。