restart php after installing phpmyadmin (#198)

This commit is contained in:
Saeed Vaziry
2024-05-09 12:52:28 +02:00
committed by GitHub
parent 016886f307
commit 765ac21916
6 changed files with 14 additions and 11 deletions

View File

@ -3,6 +3,7 @@
namespace App\SiteTypes;
use App\Enums\SiteFeature;
use App\SSH\Services\Webserver\Webserver;
use Illuminate\Validation\Rule;
class PHPBlank extends PHPSite
@ -42,7 +43,9 @@ public function data(array $input): array
public function install(): void
{
$this->site->server->webserver()->handler()->createVHost($this->site);
/** @var Webserver $webserver */
$webserver = $this->site->server->webserver()->handler();
$webserver->createVHost($this->site);
$this->progress(65);
$this->site->php()?->restart();
}