Page 1 of 1

Where and How to Change Upload_Max_Filesize

PostPosted: 03. July 2015 01:05
by Clozdr
Hello Apache Friends:
I am a novice, and know nothing about coding, etc. I set up a local server to develop a new wordpress website using XAMPP. I was successful in loading wordpress, but when I tried to load my Elegant Theme - Divi, I received the error message of upload_max_filesize. After hours researching, I found that the default is 2M and help suggestions are to increase the maximum upload filesize to 200M. Sounds simple, but not for me.

I have no idea where to go or how to do this. I need step by step directions and hope that an Apache Friend will help me and other future novices learn exactly how to do this. Thanks

Re: Where and How to Change Upload_Max_Filesize

PostPosted: 03. July 2015 01:39
by Nobbie
Edit php.ini and search for upload_max_filesize.

Re: Where and How to Change Upload_Max_Filesize

PostPosted: 03. July 2015 04:09
by Clozdr
Thanks, but I don't know how or where to go to edit php.ini? I am truly uninformed and afraid of doing something wrong in places that I have never visited before.

Re: Where and How to Change Upload_Max_Filesize

PostPosted: 03. July 2015 11:51
by puvit
To resolve this problem, locate php.ini in Xampp - you can find it at C:\xampp\php. Open the php.ini file, search for “upload_max_filesize” and replace "2M” with a higher value, say “50M”.

You will need to restart Apache for the change to take effect.

Re: Where and How to Change Upload_Max_Filesize

PostPosted: 03. July 2015 15:03
by Clozdr
Sorry about being such a "No Nothing" Maybe I am still not in the right place or don't even know how to change an item in this directory script. I am highlighting the number 2M but I am unable to change the value. What am I missing here?

Thanks for the help.

Re: Where and How to Change Upload_Max_Filesize

PostPosted: 03. July 2015 15:25
by Altrea
You need to open the php.ini with a plain text exitor (like Windows notepad).

Re: Where and How to Change Upload_Max_Filesize

PostPosted: 03. July 2015 16:14
by Clozdr
THANK YOU SO MUCH. Yes, I am really a rookie. Did not even what a plain text editor was. But with your help, I figured it out and got my program installed. WOW. Now I can go on to other things that I don't know how to do. I really appreciate the help.