Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP, Apache and uploads past 16meg

Status
Not open for further replies.

Spoot100

Programmer
Jul 13, 2003
4
US
Ok, I know I'm simply missing one more field in a config file (or sumthing equally as stupid)......but I don't know which one.

My php upload script works fine for everything under 16meg, however, if I pass that barrier MySQL complains about too large of packet size.

I'm running MySQL 4.0.15 under RH9 (2.4.22 kernel) and have kicked up the max packet size to 1G and restarted mysql. I've changed max-packet's/uploads/etc in all the php configs and apache configs to around 1G as well.

I've run out of ideas......anyone?
 
server timeout in httpd.conf at a guess, default of 30 seconds may be too short. Just a guess mind.

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
This is over a local gigabit network.....so that should'nt be an issue. But sumthing I'll look at I guess when I get home since I don't know what else to do anymore.
 
Apache will time out after 30 seconds regardless of if your upload has finished, so its all thet really springs to mind (had the same problem only 100mb network).

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top