TUTO PG PRESS - Increase the Maximum File Upload Size in WordPress | PlexGuide.com

TUTO PG PRESS - Increase the Maximum File Upload Size in WordPress

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

TUDJA

Citizen
Original poster
Oct 6, 2018
13
2
Just an update from @nachobel & @Admin9705 ;)

  • Go to portainer.yourdomain.com (your portainer install)
  • [Click] Containers > [Click] Your Wordpress Site > [Click] >_Console [Click] Connect
Normally, by default the terminal indicates that you are in the html folder.

Capture.PNG

Then type the following:
Code:
apt-get update
apt-get install nano
nano php.ini
Copy this into the php.ini document:
Code:
file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 600
Press CTRL + X to Save and then exit and finally type the following
Code:
chown www-data php.ini
chgrp www-data php.ini
  • Click - Disconnect up Top
  • Click - Container List on Left or the Server Icon (3rd/4th on Down)
  • Look for your Wordpress Site Container
  • Click - Restart
  • And enjoy !
 

Admin9705

Administrator
Project Manager
Donor
Jan 17, 2018
5,156
2,116
Great post. I had to do that before. For PGX, I'll attempt to script it.
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending