如何升级Magento到最新版本

 

Upgrading Magento

用 MagentoConnect Manager升级magento

  1. 注意要用管理员权限登录
  2. 确定要选择 “Clear all sessions after successfull install or upgrade”

How to upgrade from tarball installation

输入 magento-core/Mage_All_Latest 在 extension key field 然后点 Install 按钮.

How to upgrade all available extensions

There should be at least one extension marked in yellow, which means a higher version is available on the MagentoConnect server

  1. Click ‘Select all upgradable extensions’
  2. Click ‘Commit changes’
  3. Watch the console progress for error messages
  4. After successfully upgrading click the ‘Refresh’ button that will appear under the console frame.

How to upgrade specific extensions

  1. For each desired extension upgrade choose ‘Upgrade’ in the dropdown
  2. To upgrade Magento Core modules choose the following packages, and all required dependencies will be upgraded automatically:
    • Interface_Adminhtml_Default
    • Interface_Frontend_Default
    • Interface_Install_Default
    • Mage_Core_Adminhtml
    • Mage_Core_Modules

How to upgrade MagentoConnect Manager

  1. MagentoConnect Manager is not installed as a PEAR package by default. If you wish to upgrade it, you will first need to install it as a PEAR package.
  2. Enter magento-core/Mage_Downloader in the Extension key input field and click Install.
  3. After it is installed the first time, you can upgrade it the same way as other extensions.

You can not uninstall MagentoConnect Manager

Using SSH shell access

  1. To initialize the Magento PEAR command line registry, run the following command from the shell. Make sure you are in the Magento root folder:
  2. ./pear mage-setup .
  3. (make sure to include the second ‘.’)
  4. select php version (unix): MAGE_PEAR_PHP_BIN=/usr/local/bin/php; export MAGE_PEAR_PHP_BIN

How to upgrade from tarball installation

If you have not used MagentoConnect or PEAR command line to install Magento, you will need to enter this command for initial PEAR installation of all Magento core modules:

  1. ./pear install magento-core/Mage_All_Latest

How to upgrade all available extensions

  1. ./pear upgrade-all

How to upgrade specific extensions

  1. ./pear upgrade magento-core/Mage_Core_Modules magento-core/Mage_Core_Adminhtml
  2. ./pear upgrade magento-core/Interface_Adminhtml_Default magento-core/Interface_Frontend_Default magento-core/Interface_Install_Default

How to upgrade MagentoConnect Manager

  1. If MagentoConnect Manager is not installed as a PEAR package yet:
  2. ./pear install magento-core/Mage_Downloader
  3. After it is installed it will be upgraded just as any other extension.