Introducing EasyApaches Optimal Profiles
We are happy to announce the upcoming release of a new Profile page that will make EasyApache quicker and easier to use.
This new Profile page will include cPanel & WHM"s new Optimal Profiles. The purpose of the new profiles is to ensure that you will receive a safe and secure EasyApache build without having to access the Short or Exhaustive Options list. Each new Optimal Profile will include a selection of modules to match the current PHP version we recommend, and an Apache version that will deliver safe and reliable performance.
We will also introduce profiles that utilize the advantages of the CloudLinux operating system. One of the recommendations we make for CloudLinux users is to use the Apache MPM ITK module. This upcoming release will add the MPM ITK module to EasyApache. We will provide links to learn more about CloudLinux, and an opportunity to upgrade to the operating system.
Server administrators will continue to have access to the Short and Exhaustive Options list. You will still be able to create new profiles, customize any profile you save, and use previous profiles.
Below, we have included wire frame drafts of our new EasyApache Profile pages. Please note that these drafts do not reflect a finalized product and are subject to change. We welcome your comments and suggestions.
.vB
The cPanel Recommended Profiles page will allow system administrators to build EasyApache and learn more about CloudLinux.
.vB
The cPanel + Cloud Linux Profiles page will only be visible if a server has the CloudLinux operating system installed.
Look for these exciting changes before the end of 2013!
Reminder:
The EasyApache team would like to remind all users about the removal of several End of Life items. By the end of 2013, the following items will be removed from EasyApache:
Apache 1.3
Apache 2.0
PHP 5.2*
mod_frontpage*
*These items will be available as Custom Modules. You can read more about how to use and install Custom Modules at [url=http://blog.cpanel.net/impending-end-of-life-announcements-from-the-easyapache-team/]Impending End of Life Announcements from the EasyApache Team
-
Looks interesting, how will new installs deal with this? Taking a look at that first screenshot, am I correct in thinking that a vanilla new install (i.e. non cloud linux) will include a default "basic" build with suphp but the recommended configuration will be mod_ruid2 or mpm_itk depending on apache version? Or will a new install only fall back to basic / suphp if it can't (for whatever reason) build the recommended option? 0 -
[quote="ThinIce, post: 1493952">Looks interesting, how will new installs deal with this? Taking a look at that first screenshot, am I correct in thinking that a vanilla new install (i.e. non cloud linux) will include a default "basic" build with suphp but the recommended configuration will be mod_ruid2 or mpm_itk depending on apache version? Or will a new install only fall back to basic / suphp if it can't (for whatever reason) build the recommended option?
Hi ThinIce, Thanks for all the great questions! Let me try and answer them one by one: "...how will new installs deal with this?" New installs of EasyApache will display the cPanel Recommended Profiles only. After you have built EasyApache with one of those profiles, or constructed your own custom profile, the next time you run EasyApache you will see the Previously Saved Configuration section with the build you initially selected. "...am I correct in thinking that a vanilla new install (i.e. non cloud linux) will include a default "basic" build with suphp but the recommended configuration will be mod_ruid2 or mpm_itk depending on apache version?" Yes, the Basic profile will include SuPHP. You are correct that Recommended profiles will contain mod_ruid2 or MPM-ITK depending on which Apache version you'd like to us. The MPM-ITK Profile will only be available with Apache 2.2 "Or will a new install only fall back to basic / suphp if it can't (for whatever reason) build the recommended option?" I'll try my best to answer this one, but you may need to let me know if I don't address your question. If you have selected one of the Recommended profiles the build should proceed just as if you selected the Basic profile. A Recommended profile build won't fall back to a Basic if it can't complete for whatever reason. Please remember that the development process for this new profile page is an ongoing process. The final profile page and behavior may be slightly different than described here. Let me know if you have any additional questions!0 -
Hi Scott, thanks for the reply and the extra information. So a cPanel install on a new box will be running the default basic build with suphp as it does now. Would it be possible to have a way of setting it to build one of the other (recommended) two before running the cPanel install? I realise this will be less of an issue when everything is being pulled in with rpms eventually, but it'll save some time. Looking at [url=http://docs.cpanel.net/twiki/bin/view/AllDocumentation/InstallationGuide/ConfigureApache]How to Configure Apache Pre-Installation perhaps you could pop the recommended profiles up for download for people performing new installs? 0 -
[quote="ThinIce, post: 1494882"> So a cPanel install on a new box will be running the default basic build with suphp as it does now. Would it be possible to have a way of setting it to build one of the other (recommended) two before running the cPanel install? Looking at [url=http://docs.cpanel.net/twiki/bin/view/AllDocumentation/InstallationGuide/ConfigureApache]How to Configure Apache Pre-Installation perhaps you could pop the recommended profiles up for download for people performing new installs?
Hi ThinIce, I believe I can help you out with this question too. Below is a link where you can download the profiles currently offered in EasyApache. This dynamic list will change when the new profile page is introduced so you will be able to download the two new Recommended profiles. [url=http://httpupdate.cpanel.net/cpanelsync/easy/profiles/easy/apache/profile/custom/]Index of /cpanelsync/easy/profiles/easy/apache/profile/custom/ Hope that helps and let me know if you have any more questions!0 -
Having a custom profile built for CloudLinux, with a compatible opcode configuration and optimized settings for shared hosting servers will be great. 0 -
Having a good config using an opcode cache would be great, I've been changing my config for hours trying to find a working configuration, I can get xcache working but I then get apache crashes and seg faults, other configs stop everything working, some stop sessions from working. I really am finding it very hard to create a good fast and secure configuration. Pete 0 -
[quote="Juanzo, post: 1495862">Having a custom profile built for CloudLinux, with a compatible opcode configuration and optimized settings for shared hosting servers will be great.
Hi Juanzo, You will also be able customize each of the recommended profiles to work best for you. While the recommended Cloud Linux profiles are configured for security and reliability you may want to experiment to find the best opcode configuration for your sever.0 -
I tried many different apache 2.2 / PHP 5.3 / xcache variations and ended up getting a lot of seg faults, in the end I decided to try apache 2.4, PHP 5.5 and the new builtin OPCache and I'm really impressed, it seems like a very good and stable combination. 0 -
Focusing on the word "optimal," will this new profile approach provide an easy way to prevent loading modules or having directives that are not being used? For example there are a lot of Alias directives (such as for Interchange) that many systems do not use. I do not use and don't want to use WebDav - but does the LoadModule directive for it get executed anyway? I would like to remove all Languages and charsets except two. Having the least amount of "stuff" going on is not only optimal, but is better security against unforeseen vulnerabilities -- I recall some time ago there was an exploit against a charset variation for example. The includes editor in WHM allows the addition of modules and directives but I don't see a way to delete defaults from the configuration other than going in manually, which I am not confident I can do without breaking something else. I'm not qualified to know what I'm doing which is kind of the point of Easy Apache... 0 -
We are using the word "optimal" to refer to the combination of software and environment that an administrator can install on their machine, in order to provide the highest quality of service and experience when using EasyApache. Micro-optimizing a web server (and related configurations) is often dependent on a server's usage pattern. Thus, it is dependent on you to understand those patterns/needs, as it varies quite wildly from customer to customer. Often times this requires a great deal of metrics and experience to determine where speed/security improvements should take place; e.g. disk, cpu, memory, and network i/o optimizations. Given that response, if you find that your customers don't need the software that is installed, we have, and will continue to support custom profiles and configuration templates. 0 -
[quote="cPanelKurtN, post: 1522462">Given that response, if you find that your customers don't need the software that is installed, we have, and will continue to support custom profiles and configuration templates.
Thank you for appearing to answer my questions. As they may have been too wordy to be clear let me try again: Will there be an easy way to disable or exclude modules from loading? If the answer is "no" that's fine, but it would be nice to know that my question was understood. Is being able to exclude Interchange and WebDav really considered "Micro-optimizing"? Given the way CPanel approaches other tasks, it seemed to me to be possible to include checkboxes for those things in Tweak Settings or in the EasyApache setup. Perhaps excluding charsets, languages and icons is too micro. But entire unused modules should be seen as major configuration choices. CPanel obviously thinks so too, to some degree, since it is possible to disable the WebDav server, despite all the directives continuing to be loaded in Apache. Ditto Interchange. Service disabled, but it continues to have gobs of entries in different server files. But no worries as I see no apparent damage from these inconsistencies.0 -
[quote="gwc_wd, post: 1524501"> Will there be an easy way to disable or exclude modules from loading?
The ability to enable or disable modules (or, if you will include or exclude) will be as simple as it currently is. That part is not changing. [quote="gwc_wd, post: 1524501"> Is being able to exclude Interchange and WebDav really considered "Micro-optimizing"?
We pulled Interchange from cPanel & WHM in version 11.38. Could you provide more details on what Interchange items you see being loaded with Apache? We'd like to know what still needs cleaned up. In regards to WebDav, could you also provide more details? What directives are still being loaded when webdav is disabled in EasyApache?0 -
Any idea about when we can expect EasyApache"s Optimal Profiles? 0 -
[quote="wintech2003, post: 1542852">Any idea about when we can expect EasyApache"s Optimal Profiles?
[quote="cPScottT, post: 1493811"> Look for these exciting changes before the end of 2013!
I think it's on its way :p BTW I saw ITK in screenshots. Is it considered safe enough for use ? (Because of root privileges that it requires)0 -
[quote="wintech2003, post: 1542852">Any idea about when we can expect EasyApache"s Optimal Profiles?
Hi wintech2003, We're continuing to work on the new Optimal Profiles. I don't have an exact date for you quite yet, but please stay tuned to this thread for additional updates. It's our hope to release these new profiles in the near future though. Thanks for the question and for following our progress!0 -
[quote="chrismfz, post: 1543152">I think it's on its way :p BTW I saw ITK in screenshots. Is it considered safe enough for use ? (Because of root privileges that it requires)
Hi chrismfz, That's a great question about ITK. The release will include ITK support for Apache 2.2 only. This is due to ITK's established history and stability with Apache 2.2. Do you have more specific questions about ITK and Apache 2.2 that we can help answer? Thanks!0 -
[quote="cPScottT, post: 1543641">Hi chrismfz, That's a great question about ITK. The release will include ITK support for Apache 2.2 only. This is due to ITK's established history and stability with Apache 2.2. Do you have more specific questions about ITK and Apache 2.2 that we can help answer? Thanks!
Got a few questions :D From [url=http://mpm-itk.sesse.net/]apache2-mpm-itk : Configuration paragraph: [QUOTE]MaxClientsVHost: A separate MaxClients for the vhost. This can be useful if, ...[redacted]...you could use it to simply keep one site from eating way too much resources, but there are probably better ways of doing that.)
[QUOTE]NiceValue: Lets you nice some requests down, to give them less CPU time.
Will you give an option to edit them globally or per vhost ? Not very useful if someone's running CloudLinux but anyway some-kind-of useful... And from Quirks and warnings: [QUOTE]Since mpm-itk has to be able to setuid(), it runs as root (although restricted with POSIX capabilities and seccomp v2 where possible) until the request is parsed and the vhost determined. This means that any code execution hole before the request is parsed will be a potential root security hole.
We cannot predict 0-day exploits but we gonna have to worry about this ? (Defining "more": more over other ways to run apache like prefork/worker/etc)0 -
[quote="cPScottT, post: 1543641">Hi chrismfz, That's a great question about ITK. The release will include ITK support for Apache 2.2 only. This is due to ITK's established history and stability with Apache 2.2. Do you have more specific questions about ITK and Apache 2.2 that we can help answer? Thanks!
When we will have support for Apache 2.4? MPM-ITK is already supporting this version.0 -
[quote="rachweb, post: 1571431">When we will have support for Apache 2.4? MPM-ITK is already supporting this version.
Hi rachweb, The ITK project has made some recent strides to incorporate 2.4 support which is great. We're keeping our eyes on the project and will watch the forums and feature request site to gague the interest in adding 2.4 and ITK support. At this time we are not currently pursuing 2.4 and ITK support, but we're hard at work on providing 2.2 and ITK support here in the near future. Please post a request for Apache 2.4 and ITK support here at the cPanel feature request site. Thank you for the question!0 -
Have the optimal profiles been released yet? I'm not seeing them on the EasyApache page in our WHM. The blog post - [url=http://blog.cpanel.net/introducing-easyapaches-optimal-profiles/]Introducing EasyApache - stated to look for these changes before the end of 2013. It's nearly June 2014 now. I'm just wondering if I'm missing something some where. 0 -
[quote="sparek-3, post: 1653521">Have the optimal profiles been released yet? I'm not seeing them on the EasyApache page in our WHM. The blog post - [url=http://blog.cpanel.net/introducing-easyapaches-optimal-profiles/]Introducing EasyApache - stated to look for these changes before the end of 2013. It's nearly June 2014 now. I'm just wondering if I'm missing something some where.
Hi sparek-3, The optimal profiles are nearing completion. Please watch the EasyApache forums and our change log for the release announcements. Thank you for your interest and please let us know if you have any additional questions about the new profiles!0 -
Hi, May I ask where are these profile files located? Each time I recompile, the httpd.conf still has references to 'php4' which I think should be removed (or at least, an option to remove) since I think nobody is using php4 anymore. Is it possible for me to manually edit or make a copy of the 'configuration' file that does not reference php4? Thanks, Adrian 0 -
[quote="vpswing, post: 1662361">Hi, May I ask where are these profile files located? Each time I recompile, the httpd.conf still has references to 'php4' which I think should be removed (or at least, an option to remove) since I think nobody is using php4 anymore. Is it possible for me to manually edit or make a copy of the 'configuration' file that does not reference php4? Thanks, Adrian
Hi Adrian, These profiles have not been release yet, but are nearing completion. Please keep an eye out on the EasyApache forums and the EasyApache change log for the official release. You are correct that httpd.conf still has references to PHP 4. These references remain in case an EasyApache admin wants to build and maintain PHP 4 on their own. Since PHP 4 is officially end of life we are no longer providing support, but have kept the legacy infrastructure in tact for users who still require it. You are able to edit httpd.conf on your own, but we strongly suggest only doing so in a test environment or as an experience Apache admin. Please let me know if you have any additional questions about the new EasyApache profiles. For other questions like your PHP 4 inquiry please submit a new thread here in the EasyApache forums. This will help get the conversation out in the public where you'll get more insight and ideas. Thanks again!0 -
The new EasyApache Optimal Profiles have been released in version 3.26.0! Please see our full change log here 0 -
Hi, We currently run FCGI with eAccelerator. Is that configuration still viable with the CloudLinux Optimal Profile, or does the ITK replace the PHP handler? Also, I saw reports of segfaults and other issues with some opcode caches. Are there any remaining issues like this? Thanks! 0 -
[quote="markb14391, post: 1687972">Hi, We currently run FCGI with eAccelerator. Is that configuration still viable with the CloudLinux Optimal Profile, or does the ITK replace the PHP handler? Also, I saw reports of segfaults and other issues with some opcode caches. Are there any remaining issues like this? Thanks!
From what I can tell so far, compiling with ITK will switch you back to DSO - but now that the web server process is running as the user, so is PHP. I'm guessing that there will be no need to change the users file permissions. eAccelerator is not compatible with ITK but Xcache is. I should add that while it is reasonable to assume that Easyapache should automatically set up ITK for CloudLinux if it is installed, this does not seem to be the case. You'd have to run the patch which can be found here...0 -
It would be interesting to know if a ITK + XCache is adviced over FCGI + eAccelerator when using CloudLinux. 0 -
[quote="4u123, post: 1688001"> EDIT: I may be wrong about that, however CloudLinux documentation says that if you don't use their own Apache package, you need to run the patch - perhaps someone from cpanel can clarify? If we intend to run ITK on an existing CL setup, is there anything else we need to do other than run EasyApache?
Hi 4u123, We apply an Apache 2.2/ITK patch from CloudLinux in EasyApache. This patch is applied during an EasyApache build on CloudLinux when utilizing ITK. Building with ITK on CloudLinux is as easy as running EasyApache and selecting the MPM ITK profile. Thanks for the questions!0 -
Thanks for the answers above! 0 -
A customer has pointed out that since we switched to this MPM they are unable to get anything returned when using $_ENV For example, [PHP] echo $_ENV["DOCUMENT_ROOT">;[/PHP] Returns nothing But, using getenv works fine. [PHP]$root = getenv("DOCUMENT_ROOT"); Echo $root;[/PHP] Edit: wanted to add that the php.ini setting "variables_order" is set correctly on this server to include "E" - the most common reason the ENV array comes up empty is because this is missing - so I wanted to clarify that this is not the problem here. I'm hoping someone could take a couple of minutes to reproduce this issue. 0
Please sign in to leave a comment.
Comments
46 comments