#!/bin/bash # Get the username whose PHP version was changed USER=$1 # Ensure the username is valid if [ -z "$USER" ]; then echo "Error: No username provided." exit 1 fi # Kill all lsphp processes for the user pkill -u "" -x lsphp