joshuaorum Posted December 3, 2004 Posted December 3, 2004 I'm having trouble uploading a moderately large file (3.5megs) using PHP and my tmp directory. What is the space limit for the tmp directory? Can I increase it using Cpanel or WHM (it's hosted under my reseller account)? Quote
TCH-Thomas Posted December 3, 2004 Posted December 3, 2004 As far as I know there are no limits for each folder, just for your whole account. But I can be wrong, so hang tight and someone will verify it. Quote
TCH-Bruce Posted December 3, 2004 Posted December 3, 2004 There is a limit to the file sizes that can be uploaded through PHP. I think it is 2MB. There was another post about it but I cannot find it. Quote
webluke Posted December 3, 2004 Posted December 3, 2004 To chage the setting for file size upload in php you need to make a .htaccess file in your /public_html/ dir on your site and add this line to it: >php_value upload_max_filesize 10M The size can be change from the normal size of 2MB to a highter size, in your case 5MB to 7MB would be good, or you can just set it up to 10MB. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.