title: Unable to access env variables through www-data
body: <p>I want to access my environment variables into a php file through the web user.<br>
  Not when i execute <code>printenv</code> on the server, that particular environment variable gets displayed,<br> but on running it as a web user, <code>sudo -u www-data printenv</code> it is not displayed.
  My server is an apache server hosted on Ubuntu 14.04 on DigitalOcean, any help would be much appreciated.
  Thanks</p>