Author Topic: CWP Version  (Read 16391 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP Version
« on: October 07, 2016, 01:57:00 AM »
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

Offline
*
Re: CWP Version
« Reply #1 on: October 10, 2016, 06:21:11 PM »
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

Offline
*****
Re: CWP Version
« Reply #2 on: October 28, 2016, 10:05:50 AM »
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

Offline
*
Re: CWP Version
« Reply #3 on: March 21, 2017, 05:18:25 PM »
You can view the version by checking the file /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
Code: [Select]
[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
Code: [Select]
grep version /usr/local/cwpsrv/htdocs/resources/admin/include/version.php| awk '{print $NF}'| tr -d '"|;'
Example Output:
Code: [Select]
[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.