Accidently deleted opt/ folder missing lib

Yann asked:

I accidentally deleted my opt folder. By reinstalling the missing software, i get most of the stuff running. However /opt/rh/httpd24/root/etc/httpd/modules/ is still missing for httpd and reinstalling rh-php72-php doesn’t help.

My answer:

You can just reinstall the package containing the missing file.

yum reinstall /opt/rh/httpd24/root/etc/httpd/modules/

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.