![]() |
|||
PHP INI Variables require to Upload 100 MB Video File
By: Shailesh Singh | 22 Nov 2008 7:25 am
I was uploading Large Video file through PHP... after doing so many search and experiment i have created a list of Variables that are require to alter for uploading Large File on server..
<IfModule mod_php5.c>
php_value memory_limit - Set higher default php_value memory_limit in .htaccess upload_max_filesize 5M - it increases default upload limit. The default upload limit is 2MB. the above htaccess increase increases file limit 2mb to 5 mb php_value max_execution_time: Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the configuration file. If seconds is set to zero, no time limit is imposed. php_value session.gc_maxlifetime: The session.gc_maxlifetime only sets the age of the session files that will be deleted when garbage collection runs. php_value upload_max_filesize: this define the howmuch file size u can uplod on server at one time php_value post_max_size: This Define the Max Post size through PHP on server.. because when u press the Upload button the video file is send as post command..
Hope this will Help u and u dont have to do Search and experiments.
Bye
Commentssfdsf dsf dsf sdfdsfdsf dsfdsfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddfs sdfffffffffff |
