Where and How to Change Upload_Max_Filesize

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Where and How to Change Upload_Max_Filesize

Postby Clozdr » 03. July 2015 01:05

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
Clozdr
 
Posts: 4
Joined: 03. July 2015 00:42
Operating System: Windows

Re: Where and How to Change Upload_Max_Filesize

Postby Nobbie » 03. July 2015 01:39

Edit php.ini and search for upload_max_filesize.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Where and How to Change Upload_Max_Filesize

Postby Clozdr » 03. July 2015 04:09

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.
Clozdr
 
Posts: 4
Joined: 03. July 2015 00:42
Operating System: Windows

Re: Where and How to Change Upload_Max_Filesize

Postby puvit » 03. July 2015 11:51

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.
puvit
 
Posts: 1
Joined: 03. July 2015 11:47
Operating System: Windows

Re: Where and How to Change Upload_Max_Filesize

Postby Clozdr » 03. July 2015 15:03

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.
Clozdr
 
Posts: 4
Joined: 03. July 2015 00:42
Operating System: Windows

Re: Where and How to Change Upload_Max_Filesize

Postby Altrea » 03. July 2015 15:25

You need to open the php.ini with a plain text exitor (like Windows notepad).
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Where and How to Change Upload_Max_Filesize

Postby Clozdr » 03. July 2015 16:14

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.
Clozdr
 
Posts: 4
Joined: 03. July 2015 00:42
Operating System: Windows


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 97 guests