Avatar of intangiblemedia
intangiblemedia
Flag for Afghanistan asked on

Apache Configuration Issue - mod_fcgid: error reading data from FastCGI server

Hey all,

I have a script that requires to upload 36 photos to an ecommerce store - but there is some memory issue, and I can get a "Internal Server Error" via http admin control panel when trying to save the record with the files to database.

> ==> /var/log/apache2/mydomainerror.log <== [Mon Mar 25 12:52:35
> 2013] [warn] [client 80.28.211.165] (104)Connection reset by peer:
> mod_fcgid: error reading data from FastCGI server, referer:


> [Mon Mar 25 12:52:35 2013] [client 80.28.211.165] Premature
> end of script headers: index.php, referer:
>

Any ideas which parameter I need to change? Currently my fcgid.conf looks like this:

<IfModule mod_fcgid.c>
  AddHandler    fcgid-script .fcgi
  FcgidConnectTimeout 20
  FcgidMaxRequestLen 1073741824
  IPCCommTimeout  9200
  FcgidBusyTimeout 600
</IfModule>

Help!! Thanks everyone!
Scripting LanguagesPHPApache Web ServerWeb DevelopmentWeb Servers

Avatar of undefined
Last Comment
intangiblemedia

8/22/2022 - Mon
SOLUTION
Wylie Bayes

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
ahoffmann

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Ray Paseur

With 36 photos, you would probably want to bypass HTTP entirely and use an FTP client.  FileZilla is your friend.
ahoffmann

ftp is obsolete since ages 'cause of obvious security reasons
IMHO it's a bad idea to suggest it to be used over public transport
just my 2 pence ...
Wylie Bayes

I'm still putting my money on simply increasing the amount memory a php script can eat up.  See this choke out sites, like wordpress blogs, many times.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
intangiblemedia

ASKER
Thank you everyone - I can't seem to get to the bottom of the problem - How do I turn on php error logging to see what exactly is causing this issue?

@wakemup - I updated the default 20 to 40, the number of files is 36 - restarted Apache which I presume would "restart" php with new config.

Still not working, Im getting desperate now.

Help. thanks.