WAMP Uploading large File

后端 未结 5 1041
Happy的楠姐
Happy的楠姐 2020-12-05 16:43

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 s

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-05 17:18

    Your problem is that you modified the wrong PHP.ini file. It's WAMP trickery.

    WAMP uses an annoying system where the actual .ini files aren't used - they are dynamically generated on startup. To modify the .ini entries, you will actually need to left click on the WAMP icon, and select php.ini from the context menu. It will default to notepad, make your changes and hit "Save" (Hitting "Save As" will generate a notepad error). Once you save it, then restart WAMP again.

    This one got me too the first time I just went to the folder and tried to edit the file.

提交回复
热议问题