JavaScript Required.
We're sorry, but Pega7 doesn't work without JavaScript enabled. Please enable and refresh.
<p>Upgrade Magento via SSH</p> <p>Once you've accessed your site via SSH, change to the directory where Magento is installed and run the following commands to upgrade Magento (you should make a backup of your files and database before proceeding):</p> <pre> <code>chmod +x mage ./mage mage-setup . ./mage config-set preferred_state stable ./mage sync ./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force php shell/indexer.php reindexall rm -rf downloader/.cache/ var/cache/ </code></pre> <p>For Magento 1.4.x and earlier, please use the following commands:</p> <pre> <code>chmod +x pear ./pear upgrade-all rm -rf downloader/pearlib/cache/* downloader/pearlib/download/* var/cache/ </code></pre> <p>If you receive an error, that means the PEAR registry has not been initialized. You need to run the following commands:</p> <pre> <code>chmod 550 pear ./pear mage-setup . ./pear install magento-core/Mage_All_Latest rm -rf downloader/pearlib/cache/* downloader/pearlib/download/* var/cache/</code></pre>