Search code examples
magentointernal-server-error

Magento: 500 Internal server error


I have PHP as CGI installed server with magento.

I keep getting the 500 internal server error on some specific pages.-

  1. When someone add items to cart and say checkout the error comes up on the screen and the page url is /checkout/onepage.

  2. When I login into admin site once again the error is there.

I have given the 755 permission to all the required files and folders of magento.

I can fix this error temporary by giving the permission to the root index.php file to 755. But after some time the error is still there and again I have give the permission of root index.php file to 755 to access the pages.

How can I resolve this error permanently?

My hosting server is 1and1.com

Thanks.


Solution

  • .htaccess by default in Magento has this options disabled that are specific to 1and1 hosting, I would try enabling them:

    ############################################
    ## this line is specific for 1and1 hosting
    
        #AddType x-mapp-php5 .php
        #AddHandler x-mapp-php5 .php
    

    You may also want to read over:

    http://www.magentocommerce.com/boards/viewthread/2019/

    http://www.magentocommerce.com/boards/viewthread/199907/