Author Topic: Apache suddenly uses different httpd.conf file  (Read 5260 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache suddenly uses different httpd.conf file
« 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?

Offline
*
Re: Apache suddenly uses different httpd.conf file
« Reply #1 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.
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.

Offline
*****
Re: Apache suddenly uses different httpd.conf file
« Reply #2 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
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