-
-
Save jartaud/ab3e33ba2bfd36470f6174004f68c14d to your computer and use it in GitHub Desktop.
Install V8Js on Laravel Forge
This file contains hidden or 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
sudo add-apt-repository ppa:pinepain/libv8-5.2 | |
sudo apt-get update | |
sudo apt-get install libv8-5.2 | |
sudo pecl install v8js | |
sudo su | |
echo "extension=v8js.so" >> /etc/php/7.1/fpm/php.ini | |
echo "extension=v8js.so" >> /etc/php/7.1/cli/php.ini | |
exit | |
sudo service nginx restart && sudo service php7.1-fpm restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
so i think the current repo is now mainteined by stesie so first line should be:
sudo add-apt-repository ppa:stesie/libv8
also latest current version is now 8.7.5 so also:
sudo apt-get update
sudo apt-get install libv8-7.5