Answers.Body: <blockquote>
    <p>Looking via the FTP it appears that both Craft 3 and Craft 2 versions are installed in the vendors directory.</p>
  </blockquote>
  
  <p>Craft 2 didn't use Composer, so wouldn't have a root <code>vendor</code> directory, so you're likely running some version of Craft 3.</p>
  
  <p>Like <a href="https://craftcms.stackexchange.com/questions/35548/checking-which-version-of-craft-cms-a-site-is-using#comment41753_35548">Oli mentioned</a>, if you can connect to the database, you can check the <code>version</code> column of the <code>info</code> table to see what version of Craft the site using.</p>
  
  <p>If you can't access Craft's control panel, but can access the database, you can use this to gain control panel access: <a href="https://craftcms.stackexchange.com/a/13966/57">https://craftcms.stackexchange.com/a/13966/57</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-10T03:58:19.103Z
Answers.LastActivityDate: 2020-06-16T20:03:42.013Z
Answers.LastEditDate: 2020-06-16T20:03:42.013Z
Answers.UserDisplayName: Brad Bell
Body: <p>I've been asked to look at Craft CMS site where my would-be client has been ghosted by his previous developer. I have no handover information and only FTP and phpmyadmin access presently. </p>
  
  <p>Looking via the FTP it appears that both Craft 3 and Craft 2 versions are installed in the vendors directory. </p>
  
  <p>How can I most easily check which the actual site is being used? From the license key or database perhaps?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-09T17:21:31.413Z
Comments.Text: Have a look at the `version` column in your `info` table.
Comments.UserDisplayName: Oli
Tags: <craft3><craft2>
Title: Checking which version of Craft CMS a site is using
ThreadText: # Checking which version of Craft CMS a site is using
  
  (Asked by: username_0 on 2020-06-09)
  
  I've been asked to look at Craft CMS site where my would-be client has been ghosted by his previous developer. I have no handover information and only FTP and phpmyadmin access presently.
  
  Looking via the FTP it appears that both Craft 3 and Craft 2 versions are installed in the vendors directory.
  
  How can I most easily check which the actual site is being used? From the license key or database perhaps?
  
  **Tags:** craft3, craft2
  
  > **Comments:**
  > **username_1**: Have a look at the `version` column in your `info` table.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-06-10. Score: 1
  
  > Looking via the FTP it appears that both Craft 3 and Craft 2 versions are installed in the vendors directory.
  
  Craft 2 didn't use Composer, so wouldn't have a root `vendor` directory, so you're likely running some version of Craft 3.
  
  Like [Oli mentioned](https://craftcms.stackexchange.com/questions/35548/checking-which-version-of-craft-cms-a-site-is-using#comment41753_35548), if you can connect to the database, you can check the `version` column of the `info` table to see what version of Craft the site using.
  
  If you can't access Craft's control panel, but can access the database, you can use this to gain control panel access: <https://craftcms.stackexchange.com/a/13966/57>
  
  
  ---
  
  