From 9706b3d43bd8fe1992d7823726f2bf7e71157e0b Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Mon, 9 Dec 2024 16:42:08 +0200 Subject: [PATCH] Update PHPInstaller.php --- web/app/Installers/Server/Applications/PHPInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/Installers/Server/Applications/PHPInstaller.php b/web/app/Installers/Server/Applications/PHPInstaller.php index 8434dd6..3fa68a9 100644 --- a/web/app/Installers/Server/Applications/PHPInstaller.php +++ b/web/app/Installers/Server/Applications/PHPInstaller.php @@ -116,7 +116,7 @@ public function install() file_put_contents('/tmp/php-installer.sh', $shellFileContent); shell_exec('chmod +x /tmp/php-installer.sh'); - shell_exec('bash /tmp/php-installer.sh >> ' . $this->logFilePath . ' &'); + shell_exec('sudo bash /tmp/php-installer.sh >> ' . $this->logFilePath . ' &'); }