Closed gaetan-hexadog closed 1 month ago
You can just run a command in your script to restart
sudo systemctl restart phpX.Y-fpm
for example for PHP 8.1
sudo systemctl restart php8.1-fpm
Hi @saeedvaziry
Running a cmd with sudo
will ask for the password ! Right ? How to manage that with deployment script ?
@gaetan-hexadog vito
user has enough permissions, it should not ask for password.
Hi,
how can I restart PHP-FPM from a deployment script ?
regards