increase maximum upload size on (self-hosted) WordPress


I was in need to upload the maximum size of some attachments in my self hosted WordPress installation. I had 3 videos of an event my employee attended and moving the file manually in the /var/www/html/$MYSITE/wp-content/uploads/$YEAR/$MONTH directory didn’t help me since that way they are invisible to the WP Dashboard 😦

Since I run my own server I choose the php.ini editing way (in /etc) … all I had to do was to edit those two values:



Another idea would be to add to top of your wp-config.php this value:

define(‘WP_MEMORY_LIMIT’, ’64M’);

… and that probably would be  better since it modifies just the WP installation without touching the rest of the system and the other CMS used in your server … When I’ll go “live” I’ll try this one and report here in case problems occours!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s