By Andrew McCombe
July 11, 2012
Often you will need to know which version of Magento you are running in order to install an extension or apply a security patch. Heres how to find the Magento version you are running.
<?php include 'app/Mage.php'; echo 'Magento version is: ', Mage::getVersion();
Alternatively, from the command line you can use:
cd public_html /public_html$ php -a Interactive shell php > include 'app/Mage.php'; php > echo Mage::getVersion(); 22.214.171.124 php >exit();