Uninstall extra php versions

I need some help here regarding, keeping only my required php version but not all installed by cyberpanel as default.

With a default cyberpanel installation on CentOS 7, i got 10 php versions starting from php 5.3 to end at 8.0

I want to remove all other php versions instead of 5.6, 7.4 and 8.0, please help me how i can do that?

Its an os level thing and it will not add any extra load to your server. Its better to keep the way it is.

If you still need to remove, you can google the command line commands to remove php versions