Author Topic: httpd start via a difrent "root folder"  (Read 4766 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
httpd start via a difrent "root folder"
« 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.



Offline
*
Re: httpd start via a difrent "root folder"
« Reply #1 on: February 02, 2020, 12:38:06 PM »
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.

Offline
****
Re: httpd start via a difrent "root folder"
« Reply #2 on: February 02, 2020, 04:48:15 PM »
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.
Google Hangouts:  rcschaff82@gmail.com