cPanel stands among all other hosting control panels, and the reason is that its not only easy to use for end users, its also easy to manage for server admins. The ease of use it provides to end users is through a very good and friendly gui it provides for them to manage day to day hosting needs.

The ease it provides to server admins is a set of excellent scripts which can be used for managing software upgrades and hosting server in general. Like mysqlup script helps you upgrades Mysql, the easyapache scripts help you upgrade apache and php along with their related modules , the eximup scripts help upgrades exim mail server and so on.

These useful cPanel server management scripts are available at below path :

/scripts

The easyapache scripts is a very powerful and useful script, and this post I will list the command that can be used to find the latest versions of php4, php5 and apache that are available with a build on a cPanel servers. Below is the command you can use for this purpose :


root@cPanelServer [~]# /scripts/easyapache --latest-versions
Easy::Apache v3.2.0 Build 5291

[Apache]
1.3.42, 2.0.63, 2.2.17

[PHP 4]
4.4.6, 4.4.7, 4.4.8, 4.4.9

[PHP 5]
5.2.9, 5.2.16, 5.3.3, 5.3.4

root@cPanelServer [~]#

This is a handy cli switch for easyapache script that admins should know as second nature as it will help them quickly know their upgrade options, without running the script and then browse through available options.

For complete list of easyapache cli switches use the help switch as below :

/scripts/easyapache –help

Tags: , , , ,

Leave a Reply