首页 > Web开发 > 详细

Uploadify 上传失败

时间:2016-09-02 13:30:47      阅读:295      评论:0      收藏:0      [点我收藏+]
更改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
 
如果中文上传失败,则进行上传文件重命名

Uploadify 上传失败

原文:http://www.cnblogs.com/dong-blog/p/5833055.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!