Question about removing php package

Hi,
I searched but didn’t find a similar post…

My cybperpanel has 4 php versions: php7.4, 8.0. 8.1, 8.2
all my sites are using php8.2

So I tried to remove the 7.4, 8.0 and 8.1 – then all the sites are not functioning.
I rollback the snapshot so it was ok, maybe something still depends on the old php.

I want to know if I can delete at least one of the php versions? how to tell if the php is save to remove?

thanks.