Page 1 of 1

Upload Max Filesize

PostPosted: 11. April 2014 19:12
by superdoc
Good afternoon. I am not a programmer but I am in healthcare. I put my Wordpress live site on to a test localhost using Xampp. Everything works great except one thing. Max file size uploads are set by default to 2M, post max size to 4M. Numerous plugins are larger than that so I went into the xampp php.ini ie the settings one not the dev or prod version. I changed the max upload to 20M and post max size to 30M, saved, reset the xampp control panel and went into the admin of my local site. STILL, could not upload because of the so called 2M was hit on php.ini. Meaning, it was not reading what I had changed on the php.ini in xampp. Any help? To get around it, I unzipped the plugin folder and manually put it into the wp/content/plugins under htdoc. It worked but would like to do it the regular way. Thanks a lot!

Mark

Re: Upload Max Filesize

PostPosted: 11. April 2014 20:14
by JJ_Tagy
php.ini changes aren't affected by the control panel. Instead, stop and restart Apache.

Re: Upload Max Filesize

PostPosted: 12. April 2014 10:53
by Altrea
superdoc wrote:I went into the xampp php.ini ie the settings one not the dev or prod version. I changed the max upload to 20M and post max size to 30M, saved

Be sure you changed the correct true setting. There are many comments in the php.ini which only show you how to use these settings. Doing any change in the comments will not have any effect.

Re: Upload Max Filesize

PostPosted: 28. March 2015 20:44
by hwalker1
JJ_Tagy wrote:php.ini changes aren't affected by the control panel. Instead, stop and restart Apache.

I wish that this had been seen by me earlier today. It would have saved me 8 hours of head scratching.
Best post on the forum. Thanks. :D