Change Upload Limit


#1

I’d like to make it so that my primary content producers on SmarkSnark.com can upload their podcasts and videos directly to the site instead of having to rely on finding less reliable services that won’t keep all of their content indefinitely. Is this possible? Currently if anyone (Including myself) tries to upload a file over 7mb via a page in the site an error is thrown out.


#2

If you’re talking about a PHP upload page and are using 5.3 or 5.4 you can alter PHP settings by creating a custom phprc.

Do note that PHP is not a robust platform when dealing with large file uploads as the entire file is invariably uploaded into memory before being written to disk. Better solutions are available for uploading files. FTP, CGI scripts, etc. can write data to disk in chunks, avoiding any potential problems caused by a lack of available memory for the domain.