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);