menu
Sunday, 28 October 2012
upload large file on server
Write this code in the .htaccess file
----code-----------------------------------
suPHP_ConfigPath /home/sdman007/public_html
order allow,deny
deny from all
---------------------------------------
Create php.ini file in your root path
----code----------------------------------
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
; Maximum allowed size for uploaded files10mb ( You can change it)
upload_max_filesize = 10M
post_max_size = 10M
max_execution_time=300 ;This is exicution time 300 like as 5 min
max_input_time =300
-------------------------------------
After do that login ur cpanel again. Now you can see php configuration using the function.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment