Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
224 views
in Technique[技术] by (71.8m points)

php - WAMP Uploading large File

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

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 using WAMP server 2.2 with supported versions

Apache 2.2.21
PHP 5.3.8
MySQL 5.5.16

I made the following changes too

C:wampinapacheapache2.2.6inphp.ini 
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M 

C:wampinmysqlmysql5.0.45my.ini:

max_allowed_packet = 200M 

Could anyone suggest me the option to upload large file.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

THIS IS WHAT U HAVE TO DO!

Go to c:wampaliasphpmyadmin.conf

NOW set php_admin_value upload_max_filesize to 1024M

Bye!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...