Accidently deleted opt/ folder missing lib librh-php72-php7.so

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/librh-php72-php7.so 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/librh-php72-php7.so

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.