CWP Version

Started by Joe@Nerdster, October 07, 2016, 01:57:00 AM

Previous topic - Next topic

Joe@Nerdster

Hi All,

Is there a command that can be run from the shell to determine what version of CWP is currently running on a server?

Thanks in Advance
Joe

MyBuddyBen

I'm not sure about doing it with Shell, But I know you can login with any CWP user and scroll to bottom-right side and see the current version.
Trying to help people :)
Chords and Lyrics

Igor S.

Hello, no. You can check the CWP version in the panel only.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

mark012492

You can view the version by checking the file /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
[root@server]# cat /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
<?php
$webpanel_version 
= "0.9.8.153";
?>


If you just want version number
grep version /usr/local/cwpsrv/htdocs/resources/admin/include/version.php| awk '{print $NF}'| tr -d '"|;'

Example Output:
[root@server]# grep version /usr/local/cwpsrv/htdocs/resources/admin/include/version.php| awk '{print $NF}'| tr -d '"|;'
0.9.8.153



This may or may not work in future releases.