0

My requirement is that,I wanna upload the files of size more than upload_max_filesize in php without changing the upload_max_filesize in php.ini. Without changing the upload_max_filesize, input filefield is not accepting the files by showing error. Is there any chance to achieve this? Please suggest me to sort out this issue.Thanks in advance.

1 Answers1

0

you can upload the file of size more than upload_max_filesize in php.ini. create a file .htaccess and paste the following code php_value upload_max_filesize 10M and save it in your project folder,that's it works fine.

rch
  • 345
  • 1
  • 6
  • 20
  • this `.htaccess` will effect only the containing folder and its all sub folders – rch Dec 31 '18 at 05:50