Apache suddenly uses different httpd.conf file

Started by johnnybravoh, August 13, 2020, 07:15:07 PM

Previous topic - Next topic

johnnybravoh

It used to use the one managed using the CWP gui - i.e. at /usr/local/apache/conf/httpd.conf
Now, for whatever reason, after I applied an update, it's using/etc/httpd/conf/httpd.conf.

As a result, php-fpm is not getting loaded, all of my virtualhosts are not working.  It's a real mess.  Any ideas on how to get apache to use the config files in /usr/local/apache/conf again?

studio4host

you probably got default apache installed from centos which is not cwp version.
On login to cwp.admin cwp autodetects those issues and provides FIX button.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Igor S.

Hi, delete the Apache from yum
yum -y erase httpd
and install the correct version:
yum -y install cwp-httpd



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services