title: "Cannot locate WordPress root directory," error while updating WordPress or installing any plugins
body: <p>I am running WordPress on a CentOS server with Apache and Mysql and it was running smoothly a couple of days ago but when I am trying to install any plugin or update WordPress, it gives the error with the exact statement "Unable to locate WordPress root directory".</p>
  
  <p>Any suggestions are welcome because I need to install a few plugins.</p>