Web file transfers stop at 2 meg

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Web file transfers stop at 2 meg

Postby livewireorg » 24. April 2005 23:26

I have a downloads page on my webserver and any file over 2 megs in size gets truncated at the 2 meg point. I've changed the httpd.conf file EnableSendfile setting to on in order to try and work around the problem but still have the same result. Anybody else seen this?

TIA

-Livewire
livewireorg
 
Posts: 2
Joined: 24. April 2005 23:16

Postby foxxx428 » 26. April 2005 08:46

In php.ini find these 2 and edit:

; Maximum size of POST data that PHP will accept.
post_max_size = 2M

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
User avatar
foxxx428
 
Posts: 33
Joined: 20. December 2004 22:21

Postby livewireorg » 26. April 2005 23:14

I had upload set to 20 and post to 8 still didnt fix the problem. I banged on it some more and finally got it working propery with php4. When I went back to php5 the problem reappeared. I'm happy I can get it to work. Nothing else seems broken at the moment changing from version 5 to 4, but I would like to know what changes under the covers that breaks this....


Thanks,

-Livewire
livewireorg
 
Posts: 2
Joined: 24. April 2005 23:16

Postby Dave_L » 27. April 2005 18:30

When I went back to php5 the problem reappeared


XAMPP uses different copies of php.ini for PHP4 and PHP 5. The changes you made to php.ini may have been lost.

Run phpMyAdmin ("Show PHP information") to view the current values for post_max_size and upload_max_filesize. That will also show you the path to the current php.ini.
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43


Return to XAMPP for Windows

Who is online

Users browsing this forum: mark.mcdonald, tomi.aurednik and 77 guests