i want to need upload above 100mb file,i was successfully
upload 75mb using .htaccess file ,but i can put 101mb
file,it was not upload..please give some tips..local server
its work perfectly but online it doesn't work..
.htaccess file details
AddHandler application/x-httpd-php .php
php_value post_max_size 200M
php_value upload_max_filesize 200M
php_value memory_limit 300M
php_value output_buffering on
php_value max_execution_time 259200
php_value max_input_time 259200
php_value session.cookie_lifetime 0
php_value session.gc_maxlifetime 259200
php_value default_socket_timeout 259200
Answer Posted / amitverma
All settings are almost perfect except the missing one and
basically it's related to Apache directive settings -
TimeOut
The default value for this directive is 300 seconds, try to
raise it and see if it produces the desired results.
One more thing, try to use MAX_FILE_SIZE syntax in your
HTML form, as follows -
<input type="hidden" name="MAX_FILE_SIZE" value="200000" />
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How does the identity operator ===compare two values in PHP?
Explain the advantages of using PHP?
What are the 5 types of data?
What are php strings?
Where do I run php code?
can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.
Is php strongly typed?
Explain what is memcache?
How to include variables in double-quoted strings?
What is the special meaning of __sleep and __wakeup?
How do I display php errors?
What are major variables in research?
What is move_uploaded_file in php?
What is needed to be able to use image function?
How do you access a get requests url parameter with php?