<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Hayk Saakian on Medium]]></title>
        <description><![CDATA[Stories by Hayk Saakian on Medium]]></description>
        <link>https://medium.com/@hayksaakian?source=rss-2198a74f43e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QFtl7auw78Ka59bsY8LuBg.jpeg</url>
            <title>Stories by Hayk Saakian on Medium</title>
            <link>https://medium.com/@hayksaakian?source=rss-2198a74f43e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:03:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hayksaakian/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I ran into this error when I was uploading a new theme to my blog.]]></title>
            <link>https://medium.com/@hayksaakian/i-ran-into-this-error-when-i-was-uploading-a-new-theme-to-my-blog-5446d966b33e?source=rss-2198a74f43e------2</link>
            <guid isPermaLink="false">https://medium.com/p/5446d966b33e</guid>
            <category><![CDATA[uncategorized]]></category>
            <category><![CDATA[hayk-saakian]]></category>
            <dc:creator><![CDATA[Hayk Saakian]]></dc:creator>
            <pubDate>Tue, 06 Sep 2016 05:02:30 GMT</pubDate>
            <atom:updated>2016-09-06T05:02:30.207Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*Od37VrKW4__E5JD1.png" /></figure><p>I ran into this error when I was uploading a new theme to my blog. The issue is that the default memory limit for uploads is 2 MB when you use the 1 click wordpress install from digital ocean. It’s really easy to increase it to something reasonable like 8 MB.</p><p>First, log into your server shell</p><p>ssh root@example.com</p><p>then edit the config file for PHP</p><p>sudo nano /etc/php5/apache2/php.ini</p><p>look for this line:</p><p>upload_max_filesize = 2M</p><figure><img alt="wordpress php memory config" src="https://cdn-images-1.medium.com/max/1024/0*FVJV2RzPh7wEBuBR.png" /></figure><p>wordpress php memory config</p><p>and change it to this:</p><p>upload_max_filesize = 8M</p><p>then press ctrl+x to close, and press Y at the prompt to save, then press enter to confirm.</p><p>now, restart apache to load in the new changes.</p><p>sudo service apache2 restart</p><p>and that’s it! you’re done.</p><p>Now you’re free to upload your larger themes and other files that wordpress would normally reject on digital ocean.</p><p>The post <a href="http://www.hayksaakian.com/fix-digital-ocean-wordpress-uploaded-file-exceeds-upload_max_filesize-directive-php-ini/">How to fix Digital Ocean WordPress “The uploaded file exceeds the upload_max_filesize directive in php.ini”</a> appeared first on <a href="http://www.hayksaakian.com/">Hayk Saakian</a>.</p><blockquote><a href="http://www.hayksaakian.com/fix-digital-ocean-wordpress-uploaded-file-exceeds-upload_max_filesize-directive-php-ini/">How to fix Digital Ocean WordPress “The uploaded file exceeds the upload_max_filesize directive in php.ini”</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/112/0*MV5dksoGVlTcJsp4." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1/0*HT22bH_lE3Cm49Vz." /></figure><p><em>Originally published on </em><a href="https://hayksaakianblog.wordpress.com/2016/09/06/how-to-fix-digital-ocean-wordpress-the-uploaded-file-exceeds-the-upload_max_filesize-directive-in-php-ini/"><em>Wordpress</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5446d966b33e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>