WAMP上传大文件 [英] WAMP Uploading large File

查看:113
本文介绍了WAMP上传大文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2.24MB文件大小要上传到数据库,它显示

I have 2.24MB file size to upload to database, it displays

未收到要导入的数据.没有提交文件名,或者文件大小超出了PHP配置允许的最大大小.请参阅常见问题解答1.16.

No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16.

Iam使用支持版本的WAMP Server 2.2

Iam using WAMP server 2.2 with supported versions

Apache 2.2.21
PHP 5.3.8
MySQL 5.5.16

我也做了以下更改

C:\wamp\bin\apache\apache2.2.6\bin\php.ini 
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M 

C:\wamp\bin\mysql\mysql5.0.45\my.ini:

max_allowed_packet = 200M 

有人可以建议我选择上传大文件吗?

Could anyone suggest me the option to upload large file.

推荐答案

这是您必须要做的!

转到 c:\ wamp \ alias \ phpmyadmin.conf

现在将 php_admin_value upload_max_filesize 设置为1024M

NOW set php_admin_value upload_max_filesize to 1024M

再见!

这篇关于WAMP上传大文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆