Increasing upload Max size not working!
-
I have Windows 8.1 and was told to go into php.ini to modify the post_max, upload_max and increase the MB to a size of my desire; I have a php conf settings file and two php.ini (development/production) files in which I changed all three to the same MB; it does not work..I am using XAMP as my localhost..please help!
-
What code are you using to change that? And did you restart your webserver after you made those changes?
quite frankly, I dont believe I am using any code; maybe thats the problem? I’m merely locating the php.ini/conf files and updating the max upload size….I’ve gotten that information from numerous of forums and videos..is that wrong? what should I be doing? I am using Notepad++
Sorry, but I am new to WordPress..once I was told to locate the php.ini file, I had a hard time distinguishing which one they were referring too as I had a php.ini-development and production along with a php config settings file; Im so lost..please help
That’s okay.
Which line are you changing, and what are you changing it to? I’m trying to see if you have a syntax error.
Notepad++ is good; check your XAMP documentation to see which encoding you should be saving that file in. (I’m betting it’s UTF-8 without BOM, but it’s best to check.)
And did you restart your webserver after you made those changes?
You HAVE to Stop and then Start Apache after you make the changes for them to come into effect π
Okay, I had no idea the level of difficulty I was getting myself into lol; you stated you wanted me to check my XAMP documentation in which I believe I opened up the right location, hence when it opened in the web browser. I then clicked “documentation” on the left hand side and after that, I was truly overwhelmed; I am using UTF8 unicode though if that helps, should I not? what do you recommend? I have no idea what the BOM is! Is there a step by step tutorial because I don’t want to take up all of your time with such a simple task; am I even changing information in the right folder/file? 1) I open up XAMP in the root directory 2) double click PHP folder (now theres a plethora of PHP files..am I too open the application, the configuration settings file, the php.ini development or php.ini production? I am so lost its rather depressing
It’s really not that complicated π
1 – from the XAMPP Control Panel, Stop Apache
2 – when it has stopped, click the Config button for Apache
3 – select PHP (php.ini) <this will be the one currently in use>
4 – php.ini will open in NotePad (or whatever you have set to open plain text files)
5 – from the NotePad menu: Edit > Find > post_max
6 – change the value to the desired amount, eg. frompost_max_size=8Mtopost_max_size=20M
7 – change the Find what to upload_max
8 – change the value to the desired amount, eg. fromupload_max_filesize=2Mtoupload_max_filesize=20M
9 – NotePad File > Save and File > Exit
10 – Start ApacheDone π
Thanks Lyle, I’m on it! BTW, is 20M the cut off? is it possible to increase the file size higher? or is that size recommended?
That is just a suggestion … can be whatever you would like.
Lyle, prior to your instructions, I also changed the php.ini development and productions files..should I go back and change or update that as well to the new information I added to php.ini or even change back to default??
You can just leave those as-is. The one that is in use is the one I mentioned above.
and one last question, in hopes that your instructions work…how come I cant log in and alter or update anything for my wordpress localhost when Im away from my original wifi? I could have swore I said that I’d allow public networks while trying to change my wordpress; where do i go to change that?
Localhost with XAMPP has nothing to do with WiFi access; none is required for normal operation other than to download plugins and themes.
Nevermind about the last post..Im so overwhelmed I just forgot to LogiN!
The topic ‘Increasing upload Max size not working!’ is closed to new replies.