Around November last year, Sizzle Manchester looked into some of the free and upcoming open source platforms available for e-commerce websites as cheaper, off-the-shelf alternatives to bespoke websites for our clients. One that stood out as a forerunner and possible osCommerce/Zen Cart competitor was the very new, very shiny, and very impressive Magento.
Magento is written in PHP and built upon the Zend framework. For those of you who still don’t know what Magento is or what it can do, go here now... It’s ok... We’ll wait. Back?
Magento supports tons of payment options (Protx, Google Checkout, and Paypal), and the Magento community provides tonnes of new additions, modules, and proprietary add-ons every day.
We originally looked at GoDaddy for a temporary test hosting solution, as they had recently added PHP 5.2 support and they support .htaccess files to override certain hosting features. However, we still had some problems getting it to work straight from the box, although a quick search of the internet and Magento forums brought the majority of answers we needed, so we’ve decided to put together a quick start guide to getting Magento up and running on GoDaddy!
We have used both the economy and deluxe Linux packages available on GoDaddy successfully, including the free hosting provided with a domain (although you should beaware that GoDaddy puts rather intrusive advertisements on the free hosting). Step by step:
1. To start with we downloaded the Magento 1.2.0.2 package.
2. In the root folder we opened the .htaccess file and added the following line under the CGI options section:
AddHandler x-httpd-php5 .php
3. At this point we were able to get to the install screen, however some users have reported that the php.ini file needs to be renamed php5.ini and the following line changed from:
#cgi.fix_pathinfo = 1 to cgi.fix_pathinfo = 1
4. Once installed and running, we hit one more snag - The administration panel didn’t work in any browser! Again, a quick search of brought us the solution and we have provided the package from the Magento Forums here for you to download and use. You should unzip this and place this over the head.php file in “app\code\core\Mage\Adminhtml\Block\Page” Hopefully later versions of Magento will address this.
Using this technique we were able to get Magento installed on three separate test accounts (Free Hosting, Economy and Deluxe), although the website performance did vary dependent on which account we were on, the deluxe package obviously fared slightly better.
Hopefully this is all you’ll need in order to get Magento up and running on GoDaddy Linux hosting. We have also provided the pre-modified 1.2.0.2 solution we used to install it here. Once installed you should be able to update to the latest version without any problems.
So there we go. Hopefully, in the very near future, and once we’ve got our head around the design and skinning aspects, Sizzle Manchester will be able to offer Magento solutions, and despite our success and more importantly the community’s success, they will be hosted on our own dedicated servers, not GoDaddy’s.
Please note that Sizzle Media takes no responsibility for the use of these files, nor does it claim any copyright to them.
UPDATE: LifeBlue.com have provided instructions for v1.3.2.1 of Magento on Godaddy here