mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 19:58:41 +00:00
Implementing install commands
This commit is contained in:
parent
82d7eb4c5d
commit
815707a2ab
12
install.sh
12
install.sh
|
|
@ -1,12 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
. config.sh
|
||||
|
||||
apt-get update
|
||||
|
||||
apt-get install php7.2-dev php-pear
|
||||
apt-get install git php7.2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-pdo php7.2-sqlite php7.2-mbstring php7.2-curl php7.2-imap php7.2-bcmath php7.2-zip php7.2-dom php7.2-xml php7.2-phar php7.2-gd php7.2-dev php-pear apache2 mysql-server
|
||||
|
||||
a2enmod rewrite
|
||||
|
||||
pecl install ast
|
||||
|
||||
echo "extension=ast.so" > /etc/php/7.2/mods-available/ast.ini
|
||||
phpenmod ast
|
||||
echo "extension=ast.so" | sudo tee /etc/php/7.2/mods-available/ast.ini
|
||||
phpenmod ast
|
||||
|
||||
systemctl restart apache2
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user