So after editing my php.ini file I find the user is still not allowed to upload files larger than around 10mb. I tried changing the following to outrageous amounts, but still I was met with failure. If the file was over around 10mb, it wouldn't even flag an error it would just merely look like a refresh occurred, empty upload form.
max_execution_time
max_input_time
memory_limit
upload_max_filesize
post_max_size
default_socket_timeout
I'm new at this thing and even though some of the things I edited may have nothing to do with file uploads, just from reading the description in the php.ini and a little research I thought it did.
I know it's best to upload big files by FTP from doing a little research, but out of curiosity how would you set up the php.ini file to handle lets say a 50mb-100mb file.
Larger upload size
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: Larger upload size
If you are refering to uploads via html form, have you set the MAX_FILE_SIZE value higher?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: Larger upload size
upload_max_filesize is what I changed the value for.
MAX_FILE_SIZE on a search through the php.ini file does not appear.
MAX_FILE_SIZE on a search through the php.ini file does not appear.
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: Larger upload size
Yeah you won't find it there. It's related to the form that handles the uploads but nevermind, i just saw that it's not that relevant.zxkelxz wrote:MAX_FILE_SIZE on a search through the php.ini file does not appear.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering