How to restart all PHP-FPM versions at once
Posted: Wed Sep 07, 2022 12:15 pm
In your SSH, as root, run:
This command will restart all PHP-FPM versions from 5.6 to 8.x
Code: Select all
systemctl --full --type service --all | grep "php...-fpm" | sed 's#●##g' | awk '{print $1}' | xargs systemctl restart