Skip to content

Instantly share code, notes, and snippets.

View val-bubbleflat's full-sized avatar

Valentin Vivies val-bubbleflat

View GitHub Profile
@val-bubbleflat
val-bubbleflat / install.bash
Last active April 15, 2020 13:03
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