Updating wordpress on amazon aws ec2


So this marks the first post on the new server. After importing all the data, I could not update my wordpress or any other plugin. The plugin “WP super cache” was giving me a nightmare. Earlier I thought this plugin to be the reason for it but it turns out it was only the part of the problem. So there’s a 2 step solution to it:

  1. Oper AWS in putty or whatever client you have configured to access the server remotely. Once done, rename/ delete WP super cache plugin. After this you will see that you can at least reach the page to update wordpress. But as soon as you try to update it, it asks for your ftp details. Amazon does not provide you any FTP details. Period. So what now?
  2. This takes to the second step. This might look to be a blocker but it is nothing but a permission issue. Go back to your putty client and just run this single statement:
</pre>
<pre class="default prettyprint prettyprinted"><code><span class="pln">sudo chown </span><span class="pun">-</span><span class="pln">R apache</span><span class="pun">:</span><span class="pln">apache </span><span class="pun">/</span><span class="kwd">var</span><span class="pun">/</span><span class="pln">www</span><span class="pun">/</span><span class="pln">html</span></code></pre>
<pre>

 

Voila! You’re done. No need to restart apache as well.

In the coming day’s, I’ll be blogging all the issues I faced while setting this blog on amazon AWS.

Cheers!