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
Is nan in php?
Explain php split() function.
What are the methods of array in java?
What is the difference between explode() and split() functions?
Tell me what are the __construct() and __destruct() methods in a php class?
How many ways to include variables in double-quoted strings in php?
Explain what is smarty?
What Is a Persistent Cookie?
How can you pass a variable by reference?
How can we get the error when there is a problem to upload a file?
Php says that an array is an ordered map. But how the values are ordered in an array?
What is properties of class?
How to concatenate two strings in php?
/temp is a type of filesystem directory. State Whether True or False?
Which is the best web server?