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 . ' &'); }