Uploadify 上传失败

2016-09-02 来源: 蚂蚁力量 发布在  http://www.cnblogs.com/dong-blog/p/5833055.html

更改Apache的php.ini的配置

In my php.ini (created custom ini file in public_html) would this solve this problem, how much would I have to set it to around 1GB? I am going to change my settings to this in php.ini, will it solve the problem?

upload_max_filesize = 1000M ;1GB
post_max_size = 1000M

What would I set the 'memory_limit' limit to.

Also would this be correct in my script to check file uploaded size is <1GB

if($_FILES["uploadedfile"]["size"]<1000000)
 
Try pasting this to .htacces and it should work. 
php_value post_max_size 2000M 
php_value upload_max_filesize 2500M 
php_value max_execution_time 6000000 
php_value max_input_time 6000000 
php_value memory_limit 2500M
 
 

In Some cases, you need to increase the maximum execution time.

max_execution_time=30

I made it

max_execution_time=600000
 
如果中文上传失败,则进行上传文件重命名

相关文章