Jump to content

Recommended Posts

Posted

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)?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...