KNOWNHOST WIKI

User Tools

Site Tools


cms:find-cms-version

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cms:find-cms-version [2015/01/09 15:11]
Jonathan W.
cms:find-cms-version [2016/10/13 20:56]
mscherf [Checking WordPress Versions] added link to update instructions
Line 18: Line 18:
     * <code bash>​find /​var/​www/​vhosts/​*/​httpdocs -type f -iwholename "​*/​wp-includes/​version.php"​ -exec grep -H "​\$wp_version =" {} \;</​code>​     * <code bash>​find /​var/​www/​vhosts/​*/​httpdocs -type f -iwholename "​*/​wp-includes/​version.php"​ -exec grep -H "​\$wp_version =" {} \;</​code>​
  
-You'll see ouput similar to the following:+You'll see output ​similar to the following:
  
 <​code>/​home/​cpanelacc/​public_html/​wp-includes/​version.php:​$wp_version = '​3.9.2';​ <​code>/​home/​cpanelacc/​public_html/​wp-includes/​version.php:​$wp_version = '​3.9.2';​
Line 27: Line 27:
 This shows the location of the WordPress installation. /​home/<​CPANELUSER>/​public_html/​path and the version that's installed in that location. ​ This shows the location of the WordPress installation. /​home/<​CPANELUSER>/​public_html/​path and the version that's installed in that location. ​
  
 +If any of your WordPress installations are not using the most recent version of WordPress, it is very important to [[cms:​how-can-i-upgrade-wordpress|update it]].
 ===== Checking Joomla! Versions ===== ===== Checking Joomla! Versions =====
  
Line 66: Line 67:
 This shows the location of the Drupal installation. /​home/<​CPANELUSER>/​public_html/​path and the version that's installed in that location. ​ This shows the location of the Drupal installation. /​home/<​CPANELUSER>/​public_html/​path and the version that's installed in that location. ​
  
-===== How do I check them all at once? ===== 
- 
-Luckily, your KnownHost Support Staff has managed to write a nifty little tool that will check the latest versions and all installed versions for you by simply copy-n-pasting the following line in your SSH terminal: 
- 
-<code bash>​bash <(curl -s https://​khtechs.com/​scripts/​kh_cmsversions)</​code>​ 
- 
-You'll see output similar to what you see in this screenshot: 
- 
-{{:​cms:​412a5d396e3a4ea4c56c0a6a0ab287ca.png?​direct&​300|}} 
  
cms/find-cms-version.txt · Last modified: 2019/10/11 11:40 by Karson N.