upload large file on server
Write this code in the .htaccess file
----code-----------------------------------
suPHP_ConfigPath /home/sdman007/public_html
<Files php.ini>
order allow,deny
deny from all
</Files>
---------------------------------------
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<? echo phpinfo(); ?> function.
Comments
Post a Comment