How to reinstall php7.4

hello, due to a crash in the control panel remove php7.4 from this path: (/etc/php/)
I thought that removing it would give me the option to install it again in the panel, but no.
now it is still visible in the control panel but I can’t restart or reinstall it, how can I fix it

(I deleted it since that version was blocked and did not allow it to be restarted,)