This warning shows while we use "httpd -t " command
# httpd -t
[pagespeed:warn] [pid 123456:tid 1234567890123] ModPagespeedInheritVHostConfig is deprecated. Please remove it from your configuration.
This happens when page speed is deprecated. This can be resolved by disabling the page speed module.
# mv /etc/httpd/conf.d/pagespeed.conf.rpmnew /root/
# mv /etc/httpd/conf.d/pagespeed_libraries.conf /root/
# mv /etc/httpd/conf.d/pagespeed.conf /root/
# systemctl restart httpd