cPanel support is often outsourced and sometimes while troubleshooting issues for our clients the support technicians in our server management team needs to see the available versions of cPanel and Apache in a cPanel installed server. while doing the outsourced cPanel support here are two ways to get the versions,
Solution #1 : Keep browsing http://changelog.cpanel.net/ every day ð
Solution #2 : cPanel CLI (Command Line Interface) does offer you faster solutions for server management needs. An experienced server administrator can easily find the versions supported in the installed cPanel server by issuing the following command.
/scripts/easyapache --latest-versions Easy::Apache v3.2.0 Build 4660 [Apache] 1.3.41, 2.0.63, 2.2.11 [PHP 4] 4.4.6, 4.4.7, 4.4.8, 4.4.9 [PHP 5] 5.2.5, 5.2.6, 5.2.8, 5.2.9
cPanel updates it softwares, and you may get a different output, but similar to the above in latest versions of EasyApache’s minor updates.
/scripts/easyapache --latest-versions !! Object fetch succeeded with {"status":"1"} for EasyApache v3346 and Cpanel v1156 !! Easy Apache v3.34.6 [Apache] ââ2.2.31, 2.4.23 [PHP 5] ââ5.3.29, 5.4.45, 5.5.38, 5.6.26
Please do note that this command may not work in an EasyApache 4 enabled server where the entire system of keeping the multiple versions has changed to an RPM based one.
For knowing the cPanel version, try the commands like below
# /usr/local/cpanel/cpanel -V 56.0 (build 35)