Last active
April 15, 2020 13:03
-
-
Save val-bubbleflat/39786d8beb0a61f230ae266eed2cdc34 to your computer and use it in GitHub Desktop.
Install V8Js on Laravel Forge
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
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