Big file uploads via PHP


#1

Hi,

I’m building a web application which would require the user to upload some large files (200-250 MB).

Does anyone know if there is a max execution time or file size for PHP uploads?

Thanks !

Gabriel


#2

You have to use your own php.ini to do this


Get [color=#CC0000]$97[/color] Off with promo code :[color=#CC0000]97USA[/color] :cool: -->choose your plan (promo code included)


#3

There are instructions for doing a custom install off php for your site on the dreamhost wiki:
http://wiki.dreamhost.com/PHP.ini

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options


#4

I really think you’re going to have trouble doing that on a shared hosting server when the process killer comes by and cuts you off because your processes have gone over 100M.

People have raised the limits, but we think there’s a fundamental problem with the way php handles uploads in that keeps everything in memory until the upload is complete.

This does not play well on shared servers.

Does anyone know anyone that’s succeeded in upping it past 100M and not getting killed by the process killer?

Wholly - Use promo code WhollyMindless for full 97$ credit. Let me know if you want something else!


#5

I’ve tried (just for the hell of it) a few times now and haven’t gotten anywhere. The largest file I uploaded was roughly 91megs, and it got killed twice before finally working :stuck_out_tongue:

As some others have pointed out in the past, using an alternative application like Uber-Uploader, would probably better (best?) suit the OP’s needs in such situations over using PHP-based uploading scripts :wink:


Chips N Cheese - Custom PHP installs and the like!


#6

Thanks a lot :slight_smile: