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 / 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 |
What is needed to be able to use image function?
i got this error msg in online... how to solve this problem... i couldnot find out as soon as possible send me answer or idea COULD NOT ABLE TO CONNECT DATABASE . Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)
What are the benefits of using queries?
Which operator is used to concatenate two strings in PHP?
How are variables declared in php?
Whether session will work if we disable cookies in client browser ?
What are the benefits of using php and mysql?
What is the salary for php developer(Fresher)?
What is abstract class php?
which institute provide better PHP trainning in delhi? please tell me how much salary can freshers get ? thanku
Please explain is it possible to use com component in php?
Is it possible to protect special characters in a query string?