Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: amiaz10 on February 02, 2020, 10:46:12 AM
-
hello.
my centos 7 CWP starts the webserver via a difrent httpd.conf file then the one it shuld use
insted of using this: "/usr/local/apache/conf/httpd.conf" it uses this: /etc/httpd/conf/httpd.conf"
i have tryi'd to change the file with the "/usr/local/apache/conf/httpd.conf" data, and i recive multiply errors starting the service.
how can i force the service to use "/usr/local/apache/conf/httpd.conf" file?
or how can i reinstall the httpd service with the spesific file location of the CWP httpd service.
the problem started after i have tryi'd to install this "discord bot" on my server.
"https://just-some-bots.github.io/MusicBot/installing/centos/"
thank you all.
-
after coupple of houers.
i have fix all the problems.
i have yum remove httpd
and the yum install cwp-httpd
anf then i god php errors, so i have sdon the same (remove php, and reinstall cwp-phpsu and cwp-php.)
hope this solution will help ppl in the future.
-
That's why the first step of cwp installation is "Start with a clean minimal server". Attempting to install it on one already equiped with a LAMP stack will cause these errors.