From 9b7284649ffc869fc63f7813a8ee7eedda50255c Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Wed, 5 Oct 2022 09:36:56 +0800 Subject: [PATCH] fix(web): install script --- web/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/install.sh b/web/install.sh index dffd8a5..0f54fdb 100644 --- a/web/install.sh +++ b/web/install.sh @@ -23,7 +23,7 @@ getAptPackage(){ apt-get update --allow-unauthenticated apt-get install -y --allow-unauthenticated -o Dpkg::Options::="--force-overwrite" libv8 php7.4 php7.4-yaml php7.4-xml php7.4-dev php7.4-zip php7.4-mysql php7.4-mbstring php7.4-gd libseccomp-dev git vim ntp zip unzip curl wget libapache2-mod-xsendfile mysql-server php-pear cmake fp-compiler re2c libv8-7.5-dev libyaml-dev python2.7 python3.10 python3-requests openjdk-8-jdk openjdk-11-jdk openjdk-17-jdk # Install PHP extensions - git clone https://github.com/phpv8/v8js.git --depth=1 -b 4c026f3fb291797c109adcabda6aeba6491fe44f /tmp/pear/download/v8js-master && cd /tmp/pear/download/v8js-master + git clone https://github.com/phpv8/v8js.git --depth=1 -b 2.1.2 /tmp/pear/download/v8js-master && cd /tmp/pear/download/v8js-master phpize && ./configure --with-php-config=/usr/bin/php-config --with-v8js=/opt/libv8-7.5 && make install && cd - }