....make sure you’re using Linux hosting (much easier)
1. Download Magento: Download the latest full install of Magento and unzip on your hard drive. This should give you a folder named /Magento. The files contained inside this directory are the ones you will want to upload to your root (or subdirectory if you prefer).
2. Set up MySQL Database: Log into your web hosting control panel and in the top row of tabs hover your mouse over Databases. From the drop down, click MySQL. Follow the instructions and set up a database. Make sure to use the latest version (I think it’s 5 at this time - there will be a selection for it on the right - choose 5).
Make note of your Username (also will be your Database Name, they are the same) and password. While your database sets itself up, move on to step 3.
3. Upload Magento: FTP the unzipped files from step 1 to your root or directory you want Magento located in. Remember, if you want it installed in root, don’t upload the folder /Magento (what you see when you unzip the download), rather - upload the files inside it (i.e. /404, /downloader, /app, etc.). This will take a while to upload.
4. Edit .htaccess & php.ini.sample: For GoDaddy, you will need to edit these files as follows:
.htaccess
Click the check box next to the .htaccess file and then click the Edit button up above in the menu options.
Near the top of the code, you should see this:
############################################
## GoDaddy specific options
#Options -MultiViews
Remove the # in front of the word Options. So it should now look like this:
############################################
## GoDaddy specific options
Options -MultiViews
Next, you will need to tell GoDaddy where your install is. Still within the .htaccess file, look for this line of code:
############################################
## you can put here your magento root folder
## path relative to web root
#RewriteBase /Magento
First, remove the # in front of the word RewriteBase (if there is a # there currently). Second, if you FTP’d all your files to the root, then remove the word Magento. In the case you installed Magento to your root directory, the code should look like this:
############################################
## you can put here your magento root folder
## path relative to web root
RewriteBase /
If you installed it in a subdirectory, say /store, then that last line would look like this: RewriteBase /store
php.ini.sample
We need to a) rename and b) edit this file.
a) Tick the check box next to this file and then click Rename from the top row of menu options. Rename this file to php5.ini
b) Open the php5.ini file like you did the .htaccess file to edit it.
Add this line of code to the very bottom of the file (just to be safe, don’t leave any white spaces after it)
cgi.fix_pathinfo = 1
5. Pheww...almost there. Now we can install it.
Now go to the URL in your web browser to where you installed your Magento. So if you installed it in root, then go to http://your-site.com.
If you installed it in a subdirectory like /store, then go to http://your-site.com/store
6. Now you should be in the install area. Agree to the terms and then click Next. You should be on a page which asks you about your Database. Remember your database name and username are the same.
For Database Host, you’ll probably see the word localhost filled in there. That won’t work. To find your database host, it kind of sucks but here’s how to find it.
Go back to your hosting control panel (open in a new window or tab if not already). Hover your mouse over the Databases tab and click MySQL from the drop down. Click on the database you’re using for Magento and log into your database using your username and password for it.
Once logged in, you’ll see up at the top your server info. The one you want is the big long name. It’ll be something like:
yourDataBaseName.db.2356783.hostedresource.com
Copy that and then go back to your Magento installation. Paste that into the area where localhost was.
Fill in the rest of your info and you should be good to go.
Good luck and if you need any other web hosting accounts or domain names, visit us at http://wpbloghost.com - especially if you’re looking to start a blog. That’s what we’re all about.
I read through and did everything you said to do, but when I was reading about the host name, I put exactly what you said in there, and filled all of the other info in, and got some weird error, then I tried to do it again, thinking maybe I just put it in wrong, and got this error:
Warning: Unterminated comment starting line 45 in /home/content/m/a/m/____/html/shop/magento/lib/Varien/Http/Adapter/Curl.php on line 45
Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home/content/m/a/m/_____/html/shop/magento/lib/Varien/Http/Adapter/Curl.php on line 45
I put those underscores in the middle to hide some username info, but what in the world does this mean?????? What could I have done wrong? I am such a novice, but appreciate any help you could give me.....
Unfortunately, I’m an experienced WordPress user and not an experienced Magento user, sorry. I just posted what I did to get my wife’s site installed (now I’m on to figuring out how in the heck you configure this thing).
Make sure you got the .htaccess file right as well as the php5.ini. My install went smoothly the way I showed up above (installed it twice using the same method).
I’m getting the same type database issue as mhunkler. I had issues since the get go with the Godaddy installation. This thread, mixed in with a few other suggestions helped me finally get to the install screen. I walked through the install and after I put in my database information the following error displayed. Anyone have any ideas how to fix this?
Magento Commerce There has been an error processing your request.
Okay, well i hit my backspace, and reentered the database information. I made a single change. I choose database opposed to filesystem then hit continue. All went okay and the install just completed.
Okay, well i hit my backspace, and reentered the database information. I made a single change. I choose database opposed to filesystem then hit continue. All went okay and the install just completed.
....make sure you’re using Linux hosting (much easier)
1. Download Magento: Download the latest full install of Magento and unzip on your hard drive. This should give you a folder named /Magento. ........
........Good luck and if you need any other web hosting accounts or domain names, visit us at http://wpbloghost.com - especially if you’re looking to start a blog. That’s what we’re all about.
This is seriously good advice and worked a charm. John thanks a million.
Note: I adjusted the files AFTER the install went perfect. I came to the front end to check out if all was ok and it loaded fine, however no links worked. (page not found) After the adjustments as indicated, all worked fine.
Has anyone had any success with Magento on Godaddy. I have it installed and a shared plan and runs quite slow. I had to upgrade to a premium plan and I really don’t want to have to move. Does anyone have any recommendations - should I be looking at a Godaddy VPS?
If anyone has a magento site running on Godaddy, please submit link so I can see yr speed. Thks in advance
I got it installed by following John’s instructions (Great name by the way...)
John34 - 01 June 2009 09:03 AM
To install on GoDaddy, do this:
1. Download Magento: Download the latest full install of Magento and unzip on your hard drive. This should give you a folder named /Magento. The files contained inside this directory are the ones you will want to upload to your root (or subdirectory if you prefer).
...
But something is wrong with the .htaccess file. See mine below. Ocassionally I try to do anything in the admin screens such as click on a URL I get one like this:
And run it, I’ll get to where I want to be. Any suggestions?
.htaccess
############################################ ## uncomment these lines for CGI mode ## make sure to specify the correct cgi php binary file name ## it might be /cgi-bin/php-cgi
############################################ ## rewrite everything else to index.php
RewriteRule .* index.php [L]
</IfModule>
############################################ ## Prevent character encoding issues from server overrides ## If you still have problems, use the second line instead
############################################ ## By default allow all access
Order allow,deny Allow from all
############################################ ## If running in cluster environment, uncomment this ## http://developer.yahoo.com/performance/rules.html#etags
I got it installed by following John’s instructions (Great name by the way...)
John34 - 01 June 2009 09:03 AM
To install on GoDaddy, do this:
1. Download Magento: Download the latest full install of Magento and unzip on your hard drive. This should give you a folder named /Magento. The files contained inside this directory are the ones you will want to upload to your root (or subdirectory if you prefer).
...
But something is wrong with the .htaccess file. See mine below. Ocassionally I try to do anything in the admin screens such as click on a URL I get one like this:
And run it, I’ll get to where I want to be. Any suggestions?
.htaccess
############################################ ## uncomment these lines for CGI mode ## make sure to specify the correct cgi php binary file name ## it might be /cgi-bin/php-cgi
############################################ ## rewrite everything else to index.php
RewriteRule .* index.php [L]
</IfModule>
############################################ ## Prevent character encoding issues from server overrides ## If you still have problems, use the second line instead
############################################ ## By default allow all access
Order allow,deny Allow from all
############################################ ## If running in cluster environment, uncomment this ## http://developer.yahoo.com/performance/rules.html#etags