Author Topic: The uploaded file exceeds the upload_max_filesize directive in php.ini.  (Read 136 times)

0 Members and 1 Guest are viewing this topic.

Offline MrSpecialist

  • Sr. Member
  • *
  • Posts: 348
  • Karma: +1/-0
  • I'm an expert!
    • View Profile
Guys, have you experienced this error message before? So how do i resolve this?

Code: [Select]
The uploaded file exceeds the upload_max_filesize directive in php.ini

Techronnati | where technology never sleeps

Mountain View

Offline rpmolecule

  • Full Member
  • *
  • Posts: 235
  • Karma: +2/-0
  • Seize the Day!
    • View Profile
Re: The uploaded file exceeds the upload_max_filesize directive in php.ini.
« Reply #1 on: November 29, 2015, 10:26:21 AM »
I had the same problem, and I solved it.

if you are using wamp for your localhost then click on the wamp green icon that is running and press on PHP directory, then you will see php.ini file

if you dont use wamp software, then just find the php.ini file and open it. and search for upload_max_filesize. you should find rows like the bellow one:

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

by default the upload_max_filesize is 2 megabyte. Just simply change it to
upload_max_filesize = 200M (200 megabyte)

Dont forget to restart your server.


Related Topics

  Subject / Started by Replies Last post
1 Replies
Last post November 04, 2008, 12:05:28 AM
by Transformer10
0 Replies
Last post March 16, 2009, 09:56:17 AM
by Transformer10
1 Replies
Last post January 24, 2010, 10:53:58 AM
by MrSpecialist
0 Replies
Last post January 24, 2010, 10:59:42 AM
by CyborgRepublic
1 Replies
Last post August 11, 2016, 01:14:49 AM
by JusticeLeague

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.