Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Upgrading Magento Via SSH

Last modified by Crucial on Sun, September 28, 2008 22:37
Source|Old Revisions  |  Back To Group

The following commands work for any hosting environment, but it’s primarily for users that are in an environment with no suEXEC, like one where PHP is running as an Apache module.

In this kind of environment, all web-based processes are owned by user nobody, unlike an environment with suEXEC, where these are owned by the user.

Once you’ve accessed your site via SSH, change in to the directory where Magento is installed. Run the following commands to upgrade Magento:

  1. ./pear upgrade-all

If you receive an error, that means the PEAR registry has not been initialized. You need to run the following commands:

  1. ./pear mage-setup .
  2. ./pear install magento-core/Mage_All_Latest

This is only required once, after it’s initialized you don’t need to do this again and can use the first command listed in this article.




 

Popular Wiki Tags  |  View all

 module   routes   data accessing   resource   list   backend   api   action   mysql4   controller   getModel   model   php   custom attributes   eav 

Professional Services from the Magento Team

Professional Installation from the Magento Team

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
50167 users|609 users currently online|102324 forum posts