Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

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

1 Answer

THIS IS WHAT U HAVE TO DO!

Go to c:wampaliasphpmyadmin.conf

NOW set php_admin_value upload_max_filesize to 1024M

Bye!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...