Magento Forum

   
Page 2 of 2
Premature end of script headers: php5-cgi
 
Scabro
Jr. Member
 
Total Posts:  16
Joined:  2008-11-28
 

Ok – I’ve followed these instructions – application is hosted with Heart Internet and I’m still getting Internal Server Error messages – when I log in to the admin and sometimes when I press the Proceed to checkout button on the front end – as you can imagine quite an issue.

Any idea what might be causing these errors?

Just so you know – I’ve already tried permissions and :

RLimitMem 128000000 128000000

and :

<IfModule mod_fcgid.c>
    
ProcessLifeTime 7200
    IPCCommTimeout 7200
    IPCConnectTimeout 300
</IfModule>

and unfortunately nothing helps.

Log file says: Premature end of script headers: index.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
chatlumo
Guru
 
Total Posts:  301
Joined:  2008-02-20
Paris
 

error of subject

 
Magento Community Magento Community
Magento Community
Magento Community
 
PCGamesPlus
Sr. Member
 
Avatar
Total Posts:  166
Joined:  2008-01-03
Sacramento, CA
 

I made the changes suggested in this thread and it solved my fast-cgi timeout problems.

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

 
Magento Community Magento Community
Magento Community
Magento Community
 
diazwatson
Member
 
Avatar
Total Posts:  35
Joined:  2010-04-23
Spain
 

Well although I fixed one of my magento installation by changing the mem limits in htaccess with “RLimitMem 128000000 128000000” I am now facing some issues with installation.

Let´s see if I success like I did before

...........

 
Magento Community Magento Community
Magento Community
Magento Community
 
fernandofbf
Jr. Member
 
Total Posts:  10
Joined:  2010-08-21
 

yea, spent some time trying to resolve it a couple of weeks ago with no joy at all. Love to know if anyone has any ideas...thanks
peças
serviços automotivos

 
Magento Community Magento Community
Magento Community
Magento Community
 
Soraph
Jr. Member
 
Total Posts:  11
Joined:  2011-06-02
 

I managed to fix that with the following:

<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
FcgidIdleTimeout 3600
FcgidProcessLifeTime 7200
</IfModule>
Source

 
Magento Community Magento Community
Magento Community
Magento Community
 
hubert_fe
Jr. Member
 
Total Posts:  1
Joined:  2011-07-10
 
njwood60 - 16 September 2008 09:57 PM

Hi

My host is running PHP 5.2.4 and I also got “Premature end of script headers” errors trying to install. I was using the downloader version and the installation instructions said set the install directory permissions to 777, however I found I needed to set them to 755 to avoid the message.

After the downloader finished I got the same message when I clicked on “continue installation”.

To resolve that I had to change the permissions on index.php to 644. I also changed the directories: app, var, media and app/etc to 755 but don’t know if that was actually necessary.

Hope this helps someone with their install

Thank You. That did the trick.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 2 of 2