From ffaab8de5737679875fde35ff32d49a2e715bafc Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Mon, 9 Dec 2024 15:21:50 +0200 Subject: [PATCH] Update PHPInstaller.php --- web/app/Installers/Server/Applications/PHPInstaller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/Installers/Server/Applications/PHPInstaller.php b/web/app/Installers/Server/Applications/PHPInstaller.php index 48f56b9..a4948ed 100644 --- a/web/app/Installers/Server/Applications/PHPInstaller.php +++ b/web/app/Installers/Server/Applications/PHPInstaller.php @@ -35,6 +35,7 @@ public function install() $commands[] = 'apt-get install -yq sudo'; $commands[] = 'add-apt-repository -y ppa:ondrej/php'; $commands[] = 'add-apt-repository -y ppa:ondrej/apache2'; + $commands[] = 'apt-get update -yq'; $apacheCommands = []; @@ -64,7 +65,7 @@ public function install() $dependenciesListApache = [ 'apache2', 'apache2-suexec-custom', - 'libapache2-mod-ruid2' + 'libapache2-mod-ruid2', ]; $dependenciesApache = implode(' ', $dependenciesListApache);