files larger than 32k
Posted by: Pascal Laniel (---.gtcust.grouptelecom.net)
Date: February 23, 2006 07:42PM

It looks like any files larger than 32k is getting troncated by apache when using a WAMP5 server. (This is with fresh install setup). Any way to change this setting?

Options: ReplyQuote
Re: files larger than 32k
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: February 26, 2006 10:37AM

did you change the max file size setting?

Options: ReplyQuote
Re: files larger than 32k
Posted by: Pascal Laniel (---.gtcust.grouptelecom.net)
Date: February 27, 2006 04:54PM

That would be the setting I have been looking for. Can you enlighten me as to where it is?

Thanks

Options: ReplyQuote
Re: files larger than 32k
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: February 28, 2006 03:46AM

the default max setting size in php is 8mb, set in the php.ini file. So, if you can not access pages larger then 32k, I was under the impression that you may have change that setting.

Options: ReplyQuote
Re: files larger than 32k
Posted by: LePerdu (---.gtcust.grouptelecom.net)
Date: February 28, 2006 04:05PM

This was not only happening with php. It would also happen with jpg,gif,xml,swf,etc.

anyway I found a solution on the apache website. I had to add this to httpd.conf :

EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx

My problem is, even if it's fixed now, I do not know what the problem was, or why these lines fix it.

Options: ReplyQuote


Sorry, only registered users may post in this forum.