1

I made changes into php.ini, setting

upload_max_filesize = 2000m 
post_max_size = 800M 

and I'm getting an error:

Upload failed with error code 1 in php

If I upload images then it works fine but for larger files it shows me above error code of php file upload.

Restarted xampp several times, and even restarted my PC also.

wogsland
  • 9,106
  • 19
  • 57
  • 93
HirenMangukiya
  • 645
  • 3
  • 13
  • 30

1 Answers1

0

set post_max_size = upload_max_filesize = 200M(or 800M) will resolve this issue(remember restart apache)