24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello :),

If you have root access then please give a try with the following command. This command will show your all joomla installation path and version which are installed on your server.

Code:
find /home/*/public_html/ -type f \( -iwholename '*/libraries/joomla/version.php' -o -iwholename '*/libraries/cms/version.php' -o -iwholename '*/libraries/cms/version/version.php' \) -print0 -exec perl -e 'while (<>) { $release = $1 if m/ \$RELEASE\s+= .([\d.]+).;/; $dev = $1 if m/ \$DEV_LEVEL\s+= .(\d+).;/; } print qq( = $release.$dev\n);' {} \;
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
Hello :)

Yes, a command such as the one referenced in the previous post should help identify the Joomla installations.

Thank you.
 

em.ci

Well-Known Member
Jun 15, 2015
52
2
8
Switzerland
cPanel Access Level
Root Administrator
Hi,

Thank your for the command! It worked out for me :). Problem solved. Have a nice weekend.

PS: I found a good command for wordpress too:

Code:
find /home/*/public_html/ -type f -iwholename "*/wp-includes/version.php" -exec grep -H "\$wp_version =" {} \;
Best Regards,
em.ci
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
I am happy to see the command was helpful. Thank you for updating us with the outcome.