Skip to content

Instantly share code, notes, and snippets.

@val-bubbleflat
Last active April 15, 2020 13:03
Show Gist options
  • Save val-bubbleflat/39786d8beb0a61f230ae266eed2cdc34 to your computer and use it in GitHub Desktop.
Save val-bubbleflat/39786d8beb0a61f230ae266eed2cdc34 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment