Control Web Panel

WebPanel => Apache => Topic started by: fsoyer on November 07, 2014, 11:13:29 AM

Title: Why rebuilding Apache ?
Post by: fsoyer on November 07, 2014, 11:13:29 AM
Hi,
I don't find any answer about this, sorry if it had already been posted. I have some CentOS servers so I look at CWP with interest.
But, the hell, why rebuilding Apache/PHP when there are in the CentOS repositories ?? Yes at a lesser version but just a little sub-sub-version gap...
I have some specific configurations on some CentOS server where I know that I'll cannot install CWP, because I **can't** touch to Apache / PHP versions and configurations. Without this behavior, CWP would probably already be installed everywhere  :-\

Thanks for all lights about your choices.
And thanks anyway for your work !
Title: Re: Why rebuilding Apache ?
Post by: Administrator on November 11, 2014, 12:06:25 AM
using compiler you can integrate anything or any-version and you can quickly rebuild apache with required configuration also on the specific location.
Title: Re: Why rebuilding Apache ?
Post by: fsoyer on November 11, 2014, 12:08:04 PM
Yes I understand that a compilation can help to integrate something "hard-coded", but in fact one of the interest of Apache is its modularity. I want mod_security ? yum install mod_security. mod_evasive ? yum install mod_evasive. I want PHP ? yum install php... OK I stop there :) So ?
Change location ? Yes it can help for more security I guess. OK but I think that if someone can compromise a server, by a site backdoor for example, a different location of apache binaries don't really stop him... Better to enforce the websites code !
And all configurations are text-based, so all can be changed manually.
I must add also that I actually choose the version (not apache, I have never need to change it, but PHP for example) simply with yum downgrade, by specifying standard or rpmgorge or epel or remi repository.

Understand me : I'm not trying to criticize. I just try to understand, when we have a so complete tool like yum, on a unique distro like CentOS, with well identified repositories, what is today the need to compile something ?
Title: Re: Why rebuilding Apache ?
Post by: Administrator on November 12, 2014, 03:55:41 AM
its needed for customization of the server, so you cant accidentally remove apache or php.