Last active
January 17, 2019 02:45
-
-
Save terrylinooo/1178592f6afcf9e7b1b0c635c15aba26 to your computer and use it in GitHub Desktop.
Install PHP v8js with PHP 5.6 on Centos 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install php-pear | |
yum install re2c | |
yum install v8-devel | |
pecl install v8js-0.1.3 | |
// if failed, need to download v8js-0.1.3 and manually install it | |
// modify b8js.cc and add the blow info line 1 | |
#define PHP_V8_VERSION "0.1.3" | |
phpize | |
./configure --with-v8js | |
make | |
make test | |
make install | |
echo "extension=v8js.so" >> /etc/php.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment