Control Web Panel

WebPanel => Apache => Topic started by: johnnybravoh on August 13, 2020, 07:15:07 PM

Title: Apache suddenly uses different httpd.conf file
Post by: johnnybravoh on August 13, 2020, 07:15:07 PM
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?
Title: Re: Apache suddenly uses different httpd.conf file
Post by: studio4host on August 14, 2020, 07:55:49 PM
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.
Title: Re: Apache suddenly uses different httpd.conf file
Post by: Igor S. on August 21, 2020, 04:50:54 AM
Hi, delete the Apache from yum
Code: [Select]
yum -y erase httpdand install the correct version:
Code: [Select]
yum -y install cwp-httpd