update php fpm ini (#258)

This commit is contained in:
Saeed Vaziry
2024-07-27 12:51:13 +02:00
committed by GitHub
parent 55269dbcde
commit 9473d198e1
9 changed files with 77 additions and 33 deletions

View File

@ -102,12 +102,10 @@ public function installComposer(): void
);
}
public function getPHPIni(): string
public function getPHPIni(string $type): string
{
return $this->service->server->ssh()->exec(
$this->getScript('get-php-ini.sh', [
'version' => $this->service->version,
])
return $this->service->server->os()->readFile(
sprintf('/etc/php/%s/%s/php.ini', $this->service->version, $type)
);
}
}