soumya.tr

Member
Oct 24, 2009
23
0
51
HI,

How can we find the easyapache version?

I could find the command '/usr/local/cpanel/scripts/easyapache --version', but when it is executed it gives two values:

---------------
# /usr/local/cpanel/scripts/easyapache --version
Easy::Apache v3.13.5

[cpanel]
11.32.3 (build 21)


[apache]
Server version: Apache/2.2.22 (Unix)
Server built: Apr 17 2012 00:47:25
Cpanel::Easy::Apache v3.11.2 rev9999


[server]
Linux XX-XXXX-XXXX-X.XXXXX.XXX 2.6.18-308.1.1.el5xen #1 SMP Wed Mar 7 04:57:35 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
---------------

There is two versions shown. Which is the actual easyapache version??

What is the difference between:

---------
Easy::Apache v3.13.5
---------

and

---------
Cpanel::Easy::Apache v3.11.2 rev9999
---------

Regards,
Soumya
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Easy::Apache v3.13.5 is the latest as noted on the Changelog page located here:
EasyApache < AllDocumentation/ChangeLog < TWiki

Back in February 2012-02-10, Apache (Installed via Easy Apache) was updated to 2.2.22
Fixed case 56985: Update Apache to 2.2.22

What is the difference between:
I think the answer is, a few months. You should definitely update as soon as possible.

Code:
# /usr/local/cpanel/scripts/easyapache --version
Easy::Apache v3.13.5

[cpanel]
11.32.4 (build 9)


[apache]
Server version: Apache/2.2.22 (Unix)
Server built:   Jun 28 2012 13:08:49
Cpanel::Easy::Apache v3.13.5 rev9999
 

soumya.tr

Member
Oct 24, 2009
23
0
51
Hi Infopro,

>> You should definitely update as soon as possible.

I didn't get you. Did you mean updating cpanel easyapache?

Regards,
Soumya
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Correct. When you first open that page the system makes sure you have the latest. Open it and see.
Making sure we have the latest files...

Click here if you're not automatically sent to the UI
Welcome to Easy::Apache v3.13.5

Sorry, to be clear, you should update Apache itself, from EasyApache. Modsecurity was just updated in EA 3.13.5 to 2.6.6 and is why I suggest you update.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
The reason you have two versions is that it shows the latest available at the top and the current below it, so you have EasyApache 3.11.2 rev9999 on your machine when you last built Apache and PHP. It always is going to show two versions so that you know the latest available that will be used when you rebuild and the current one when you last built Apache and PHP.

For example, here's my machine showing I last ran EA on Jun 28 and it was using v3.13.4 for EasyApache:

[email protected] [~]# /scripts/easyapache --version
Easy::Apache v3.13.5

[cpanel]
11.32.4 (build 9)


[apache]
Server version: Apache/2.2.22 (Unix)
Server built: Jun 28 2012 19:55:36
Cpanel::Easy::Apache v3.13.4 rev9999


[server]
Linux host.tristanwallace.com 2.6.18-274.7.1.el5.028stab095.1 #1 SMP Mon Oct 24 20:49:24 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux
I typically find it is better to check the latest available versions to know what you can install when you run EasyApache:

[email protected] [~]# /scripts/easyapache --latest-versions
Easy::Apache v3.13.5

[Apache]
1.3.42, 2.0.64, 2.2.22

[PHP 4]
4.4.6, 4.4.7, 4.4.8, 4.4.9

[PHP 5]
5.2.9, 5.2.17, 5.3.10, 5.3.13
 

soumya.tr

Member
Oct 24, 2009
23
0
51
@Infopro & cPanelTristan: Thanks a lot for the details.

I am planning to upgrade easyapache. So will running /scripts/easyapache be fine or should any arguments be included? Infact I only want to upgrade easyapache.

Also will upgrading easyapache break the system? What all things have to be backed-up before upgrading easyapache?
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
You've already pulled the latest EasyApache whenever you have upcp set to update and don't have cpanelsync excluded from updating. If you aren't going to be updating Apache or PHP, you don't need to run EasyApache to get the latest version, since you are already pulling it with the version information it shows available. There's no reason to run it for that reason.