Skip to content

Instantly share code, notes, and snippets.

@jartaud
Forked from val-bubbleflat/install.bash
Created September 15, 2018 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jartaud/ab3e33ba2bfd36470f6174004f68c14d to your computer and use it in GitHub Desktop.
Save jartaud/ab3e33ba2bfd36470f6174004f68c14d to your computer and use it in GitHub Desktop.
Install V8Js on Laravel Forge
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
@lsotoangeldonis
Copy link

lsotoangeldonis commented Dec 4, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment