The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Find all Joomla installations

Discussion in 'General Discussion' started by em.ci, Feb 17, 2016.

  1. em.ci

    em.ci Active Member

    Joined:
    Jun 15, 2015
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Switzerland
    cPanel Access Level:
    Root Administrator
    Hi,

    Do somebody now how I can get a list of all Joomla Installations on my Server?

    Best Regards,
    emci
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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);' {} \;
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. em.ci

    em.ci Active Member

    Joined:
    Jun 15, 2015
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page