Skip to main content

Security Advisor says there are EasyApache updates?

Comments

11 comments

  • cPanelMichael
    However, when I click on the link it shows that I have 3.34.0, which is the most recent version. Why is the Security Advisor not smart enough to know that I'm already up-to-date?

    Hello, To clarify, have you initiated a new build of Apache/PHP through EasyApache 3.34.0 since that version was made available? Note for anyone interested, here's the relevant code from Security Advisor that's generating the "EasyApache3 has updates available" message: [SPOILER="Security Advisor - Code That Checks For EasyApache Build">
    sub _check_for_easyapache_build { my $self = shift; my $security_advisor_obj = $self->{'security_advisor_obj'}; my $cpsources = Cpanel::Config::Sources::loadcpsources(); my $ea_update_server = defined $cpsources->{'EASOURCES'} ? $cpsources->{'EASOURCES'} : $cpsources->{'HTTPUPDATE'}; my $httprequest_obj = Cpanel::HttpRequest->new( 'hideOutput' => 1 ); my $latest_ea3_version = ''; eval { $latest_ea3_version = $httprequest_obj->request( 'host' => $ea_update_server, 'url' => '/cpanelsync/easy/version_easy', 'protocol' => 0, ); }; chomp($latest_ea3_version); my $installed_version = Cpanel::SafeRun::Errors::saferunallerrors( _get_httpd_path(), '-v' ); $installed_version = $installed_version =~ /Cpanel::Easy::Apache v([\d.]+)/s ? $1 : ''; if ( $latest_ea3_version && $installed_version && $latest_ea3_version ne $installed_version ) { $security_advisor_obj->add_advice( { 'type' => $Cpanel::Security::Advisor::ADVISE_WARN, 'text' => ['EasyApache3 has updates available.">, 'suggestion' => [ '[output,url,_1,EasyApache3,_2,_3] needs to be run periodically to update Apache, PHP and other public server functionality to the latest versions. Updates to EasyApache3 often fix security vulnernabilities in this software.', $self->base_path('cgi/easyapache.pl?action=_pre_cpanel_sync_screen'), 'target', '_blank' ], } ); } return 1; }
    Thank you.
    0
  • NestMan
    No, I did not initiate a new build. I was not aware that I had to recompile Apache each time EasyApache came out with an update. Is this something I should be doing? Thank you!
    0
  • cPanelMichael
    Hello, It's not required, but it's generally a good idea because new versions and bug resolutions are often included. The change log is listed at: EasyApache Change Log - EasyApache - cPanel Documentation However, that said, this is less of an issue once you begin using EasyApache 4 due to the integration with YUM. More information on EasyApache 4 is available at: Introduction to EasyApache 4 - EasyApache 4 - cPanel Documentation Thank you.
    0
  • NestMan
    Hello, However, that said, this is less of an issue once you begin using EasyApache 4 due to the integration with YUM. Thank you.

    I am new to WHM and Apache. I have never used YUM before. Do you advise that I follow the directions and migrate over to EasyApache 4 or stay with my current version for now? Thank you.
    0
  • cPanelMichael
    I am new to WHM and Apache. I have never used YUM before. Do you advise that I follow the directions and migrate over to EasyApache 4 or stay with my current version for now? Thank you.

    Hello, I recommend migrating to EasyApache 4. The update process is outlined at however you can choose to wait for cPanel version 58's new interface in Web Host Manager if you'd rather migrate through WHM.
    0
  • NestMan
    I have version 56.0 (build 24). When is it anticipated that version 58 will be available for the masses? Thank you.
    0
  • cPanelMichael
    I have version 56.0 (build 24). When is it anticipated that version 58 will be available for the masses?

    cPanel 58 is tentatively scheduled for publication to the Thank you.
    0
  • NestMan
    Is it common for cPanel to skip major build numbers? For example, I was expecting that the next version would be 57, not 58. Thank you.
    0
  • cPanelMichael
    Is it common for cPanel to skip major build numbers? For example, I was expecting that the next version would be 57, not 58.

    Yes, this is by design. Here's a quote from , which are only available on the EDGE and CURRENT , which are available on all of our
    0
  • NestMan
    cPanel 58 is tentatively scheduled for publication to the
    0
  • Infopro
    Since I am a newbie when it comes to WHM, do you suggest that I wait until version 60? Or should I upgrade via the command line somehow?

    You can wait if you like, you'll be fine.
    0

Please sign in to leave a comment.