Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Problem in installation on Hostgator
 
Gal
Jr. Member
 
Total Posts:  2
Joined:  2007-09-03
 

Hello all!
I try to install Magento on linux server - “Hostgator”, the “baby croc” package, and got the"Internal Server Error 500"…
I changed my htaccess file - added the line “AddType x-mapp-php5 .php”.
Also move it to the upper directory, but no use.
Does anyone knows what’s the solution?
Thanks!!!
Gal

 
Magento Community Magento Community
Magento Community
Magento Community
 
LorenzoG
Member
 
Total Posts:  36
Joined:  2007-09-02
 

Yes, It’s the .htaccess file.

As you wrote, you need to add

AddHandler application/x-httpd-php5 .php

You also need to remove the following two lines that do that you get “Internal Server 500”, then you are able to run Magento on Hostgator.

php_flag magic_quotes_gpc off
php_flag short_open_tag on

However, if I have understand it right, Magento needs Magic Quotes to be Off for to work properly. I haven’t had time to contact hostgator for to see how we can turn magic quotes off and short_open_tag on.

If someone has the answer, please let us know. Thanks smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
LorenzoG
Member
 
Total Posts:  36
Joined:  2007-09-02
 

I see now that Moshe from Varien replied in another thread:

The last released version already can manage without “php_flag magic_quotes_gpc off” line.

And I see now that Hosgator has short_open_tag On as default.

If I have understand it right .. it’s solved..

The answer should then be .. simply remove the following two lines from the .htaccess

php_flag magic_quotes_gpc off
php_flag short_open_tag on

smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Gal
Jr. Member
 
Total Posts:  2
Joined:  2007-09-03
 

Thank you!!
It works!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
MrKing
Jr. Member
 
Total Posts:  1
Joined:  2008-04-11
 

Perfect

Thanks for the tip

grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
theonlycore4
Jr. Member
 
Total Posts:  21
Joined:  2008-05-21
 

This method doesn’t seem to be working now with 1.1.

Can someone please help? I’m getting the 500 server error

 
Magento Community Magento Community
Magento Community
Magento Community
 
winzippy
Sr. Member
 
Avatar
Total Posts:  101
Joined:  2008-02-08
Rochester, NY, USA
 

Make sure your index.php file in the root of your Magento folder is chmodded to 0755 and NOT 0777 if on HostGator.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lynnspain
Member
 
Avatar
Total Posts:  65
Joined:  2008-08-07
Baleares, Spain
 

Hi I just did a full install of version 1.1.8 (using sample data) on Hostgater and it took me less than 30 mins once all files were uploaded to install sample data on db and install magento.  All so far seems to work well and it is a good speed. I previously installed on netfirms and the admin was so slow it was impossible to use. I have not changed any files just followed the basic instructions and that is it. As I have seen that people seem to be having problems I thought you would like to know that -

Hostgater is fine as a host for Magento. 

 
Magento Community Magento Community
Magento Community
Magento Community
 
airomic
Jr. Member
 
Total Posts:  4
Joined:  2009-10-16
 
lynnspain - 06 December 2008 01:29 AM

Hi I just did a full install of version 1.1.8 (using sample data) on Hostgater and it took me less than 30 mins once all files were uploaded to install sample data on db and install magento.  All so far seems to work well and it is a good speed. I previously installed on netfirms and the admin was so slow it was impossible to use. I have not changed any files just followed the basic instructions and that is it. As I have seen that people seem to be having problems I thought you would like to know that -

Hostgater is fine as a host for Magento. 

How did you install the sample data on hostgator if you don’t mind me asking?

 
Magento Community Magento Community
Magento Community
Magento Community
 
anos
Jr. Member
 
Total Posts:  3
Joined:  2009-12-19
 

i would like to know also, becoz here it does NOT work :-( getting the Internal Server Error

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top